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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 102 kB / 18.93 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 192.6 kB / 22.23 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.803/2.803, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.89 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9692/0.9714, allocations: 160.8 MB / 1.218 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002623/0.9741, allocations: 1.231 MB / 1.22 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.975, allocations: 459.4 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.9751, allocations: 0 / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.9751, allocations: 0 / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.9751, allocations: 1.156 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.9757, allocations: 123.1 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.9758, allocations: 15.83 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.9758, allocations: 1.344 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.9758, allocations: 8.469 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.9759, allocations: 11.58 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.9759, allocations: 1.188 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.9762, allocations: 145.6 kB / 1.22 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.9762, allocations: 9.109 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.9762, allocations: 2.625 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.9764, allocations: 101.5 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9764, allocations: 0 / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.215e-06/0.9764, allocations: 1.344 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.9764, allocations: 0 / 1.22 GB, free: 2.117 MB / 0.92 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.000549/0.977, allocations: 384.4 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.977, allocations: 9.188 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.9771, allocations: 7.281 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.9772, allocations: 169.4 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.9773, allocations: 1.719 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.9773, allocations: 2.719 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.9774, allocations: 43.27 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.9774, allocations: 192 / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.9774, allocations: 5.312 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.9774, allocations: 0 / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.9774, allocations: 6.656 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.9776, allocations: 157.6 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.9777, allocations: 34.23 kB / 1.221 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.9778, allocations: 8.859 kB / 1.221 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.9778, allocations: 1.156 kB / 1.221 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.9779, allocations: 56.14 kB / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.9779, allocations: 0 / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.9781, allocations: 73.53 kB / 1.221 GB, free: 1.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.9782, allocations: 56.45 kB / 1.221 GB, free: 1.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.9783, allocations: 99.27 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.9783, allocations: 26.8 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.9783, allocations: 89.09 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.9783, allocations: 10.06 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.9784, allocations: 18.88 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9785, allocations: 319.9 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.9785, allocations: 8.266 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.9786, allocations: 31.47 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.9787, allocations: 51.88 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9787, allocations: 4 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/0.9788, allocations: 65.34 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9788, allocations: 9.5 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.9788, allocations: 5.125 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.9788, allocations: 1.344 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.9789, allocations: 9.906 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.9789, allocations: 5.328 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.9789, allocations: 10.2 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.9789, allocations: 2.312 kB / 1.222 GB, free: 292 kB / 0.92 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.695e-05/0.979, allocations: 124.8 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.979, allocations: 5.25 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.979, allocations: 3.688 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.979, allocations: 5.156 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.979, allocations: 0 / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.979, allocations: 1.094 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.9792, allocations: 157.3 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9792, allocations: 1.188 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.9792, allocations: 5.203 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.9792, allocations: 13.06 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9792, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9792, allocations: 1.062 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9792, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.9794, allocations: 83.05 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.9794, allocations: 82 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.9794, allocations: 8.875 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.9795, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.9795, allocations: 5.156 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.9795, allocations: 10.02 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.9795, allocations: 78.47 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9795, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000247/0.9798, allocations: 30.66 kB / 1.223 GB, free: 15.66 MB / 0.9356 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.0003588/0.9801, allocations: 165.4 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.9803, allocations: 28.55 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9803, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.9803, allocations: 15.16 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.9804, allocations: 2.188 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.9807, allocations: 115.4 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.981, allocations: 0.6819 MB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.981, allocations: 9.453 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.981, allocations: 9.875 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.981, allocations: 0 / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.003766/0.9848, allocations: 1.06 MB / 1.225 GB, free: 14.12 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.176684561185539]