Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008099/0.0008099, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008335/0.0008335, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8942/0.8942, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.647/1.647, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.559e-05, allocations: 9.516 kB / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001529/0.001554, allocations: 1.239 MB / 0.9529 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007063/0.002261, allocations: 470.9 kB / 0.9534 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.002287, allocations: 0 / 0.9534 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.002304, allocations: 3.938 kB / 0.9534 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.002335, allocations: 4 kB / 0.9534 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.002847, allocations: 127.3 kB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.002918, allocations: 27.92 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.002953, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.002987, allocations: 15.98 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.605e-05/0.003013, allocations: 7.938 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.003027, allocations: 3.984 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.003239, allocations: 147.7 kB / 0.9537 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.003254, allocations: 3.984 kB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.003278, allocations: 4 kB / 0.9537 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.003453, allocations: 127.6 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003454, allocations: 0 / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003455, allocations: 0 / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003459, allocations: 4 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 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.0005784/0.004038, allocations: 315.7 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.004072, allocations: 11.97 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.004103, allocations: 8.891 kB / 0.9541 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.00417, allocations: 109.8 kB / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.004188, allocations: 384 / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.004198, allocations: 384 / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.004284, allocations: 46.23 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.004292, allocations: 192 / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.004301, allocations: 4.375 kB / 0.9543 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.004306, allocations: 4.375 kB / 0.9543 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.00433, allocations: 11.88 kB / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.004438, allocations: 109.2 kB / 0.9544 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.0045, allocations: 30.61 kB / 0.9544 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.004522, allocations: 8.859 kB / 0.9544 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.00453, allocations: 4 kB / 0.9544 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.004636, allocations: 67.31 kB / 0.9545 GB, free: 16 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004636, allocations: 0 / 0.9545 GB, free: 16 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001779/0.004814, allocations: 65.67 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.004848, allocations: 59.41 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.004911, allocations: 109.8 kB / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.004923, allocations: 29.7 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.004954, allocations: 80.14 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.004973, allocations: 11.95 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.004998, allocations: 17.72 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.00507, allocations: 318.8 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.005086, allocations: 8 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.005113, allocations: 35.36 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.005159, allocations: 43.44 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005161, allocations: 0 / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.855e-05/0.00523, allocations: 73.52 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.005241, allocations: 4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.005245, allocations: 4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.005256, allocations: 3.984 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.005313, allocations: 8 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.005318, allocations: 3.938 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.005335, allocations: 8.094 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.005341, allocations: 0 / 0.9554 GB, free: 15.07 MB / 0.9167 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 5.67e-05/0.005398, allocations: 117.8 kB / 0.9555 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.005404, allocations: 3.953 kB / 0.9555 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.005431, allocations: 15.98 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005432, allocations: 240 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005436, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.005441, allocations: 7.922 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.3e-05/0.005504, allocations: 101.3 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005504, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-06/0.005514, allocations: 7.984 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.005515, allocations: 4 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.005521, allocations: 0 / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005522, allocations: 256 / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.005524, allocations: 4 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.171e-05/0.005605, allocations: 92.98 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.005614, allocations: 11.95 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.005623, allocations: 0 / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.005634, allocations: 3.938 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.005651, allocations: 4 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.005657, allocations: 3.984 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.005689, allocations: 87.22 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005689, allocations: 0 / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001816/0.005871, allocations: 39.86 kB / 0.9558 GB, free: 14.5 MB / 0.9167 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.0002596/0.00613, allocations: 186.1 kB / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.389e-05/0.006214, allocations: 27.92 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.006216, allocations: 192 / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.006239, allocations: 19.98 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.63e-05/0.006335, allocations: 2.062 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.00654, allocations: 138.5 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.006579, allocations: 63.34 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.006596, allocations: 12.5 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.006596, allocations: 0 / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.002256/0.008852, allocations: 1.366 MB / 0.9576 GB, free: 12.66 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.869042966514826]