Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006575/0.006575, allocations: 101.3 kB / 15.73 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 196 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 60.12 kB / 1.018 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9324/0.9338, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002649/0.9365, allocations: 1.219 MB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.9375, allocations: 437 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.9376, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.9377, allocations: 7.938 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.9377, allocations: 0 / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.9384, allocations: 111.6 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.9385, allocations: 11.98 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.9385, allocations: 15.94 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.579e-05/0.9386, allocations: 7.938 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.946e-05/0.9386, allocations: 3.984 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.9386, allocations: 4 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.9389, allocations: 103.8 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.9389, allocations: 11.97 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.939, allocations: 11.94 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.9392, allocations: 88.31 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9392, allocations: 0 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9392, allocations: 0 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.9392, allocations: 0 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005458/0.9397, allocations: 392.9 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9398, allocations: 8.922 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.9398, allocations: 4.875 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.94, allocations: 168.3 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.94, allocations: 384 / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.94, allocations: 12.36 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.9401, allocations: 42.17 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9401, allocations: 192 / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9402, allocations: 7.938 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9402, allocations: 0 / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.33e-05/0.9402, allocations: 4 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.9404, allocations: 153.7 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/0.9405, allocations: 30.61 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.9405, allocations: 12.86 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.9405, allocations: 3.938 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.9407, allocations: 63.48 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.9407, allocations: 0 / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.9409, allocations: 65.62 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.941, allocations: 55.39 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.9411, allocations: 97.86 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.9411, allocations: 29.64 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.9411, allocations: 88.09 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.9412, allocations: 15.94 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.9412, allocations: 17.72 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9413, allocations: 314.8 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.9414, allocations: 11.98 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.9414, allocations: 27.44 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.9415, allocations: 51.36 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9415, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000103/0.9416, allocations: 65.62 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9416, allocations: 7.938 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9416, allocations: 3.938 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9417, allocations: 4.422 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.9417, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.9418, allocations: 16.17 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.9418, allocations: 7.891 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.9418, allocations: 7.984 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.9419, allocations: 117.8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.9419, allocations: 3.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.942, allocations: 7.484 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.942, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.942, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.942, allocations: 4 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.9421, allocations: 157.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9421, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.9422, allocations: 7.984 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9422, allocations: 3.938 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.9422, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9422, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9422, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.9423, allocations: 85.05 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.9424, allocations: 89.06 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.9424, allocations: 7.938 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.9425, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.9425, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.9425, allocations: 4 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.9425, allocations: 79.27 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9425, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002992/0.9429, allocations: 35.88 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000418/0.9433, allocations: 161.9 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.9434, allocations: 40.09 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9434, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.9435, allocations: 11.98 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.9436, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.9439, allocations: 117 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.9442, allocations: 0.6845 MB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.9442, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.9443, allocations: 11.44 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.9443, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.003556/0.9478, allocations: 1.044 MB / 1.173 GB, free: 13.02 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y