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.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.001493/0.001493, allocations: 113.7 kB / 17.96 MB, free: 3.918 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.001358/0.001358, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.468/1.468, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.7 MB / 0.7635 GB, free: 10.89 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 59.91 kB / 1.108 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8762, allocations: 168.7 MB / 1.272 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002418/0.8786, allocations: 1.24 MB / 1.274 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.8796, allocations: 478.4 kB / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.8796, allocations: 0 / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.8797, allocations: 0 / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.8797, allocations: 3.938 kB / 1.274 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.8802, allocations: 107.6 kB / 1.274 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.8803, allocations: 19.92 kB / 1.274 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.8803, allocations: 4 kB / 1.274 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.8804, allocations: 19.92 kB / 1.274 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.8804, allocations: 11.92 kB / 1.274 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.8804, allocations: 0 / 1.274 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.8807, allocations: 115.8 kB / 1.274 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.8807, allocations: 3.984 kB / 1.274 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.8807, allocations: 11.94 kB / 1.274 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.8809, allocations: 101.6 kB / 1.274 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8809, allocations: 0 / 1.274 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8809, allocations: 0 / 1.274 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8809, allocations: 0 / 1.274 GB, free: 2.27 MB / 0.9669 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.0006497/0.8816, allocations: 392.8 kB / 1.275 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8816, allocations: 12.03 kB / 1.275 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.8817, allocations: 34.75 kB / 1.275 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.8817, allocations: 4.938 kB / 1.275 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.8819, allocations: 168.3 kB / 1.275 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.8819, allocations: 4.375 kB / 1.275 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.8819, allocations: 8.297 kB / 1.275 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.882, allocations: 42.25 kB / 1.275 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.882, allocations: 7.875 kB / 1.275 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.882, allocations: 4 kB / 1.275 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.882, allocations: 0 / 1.275 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.8821, allocations: 4 kB / 1.275 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.8825, allocations: 253 kB / 1.275 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.8827, allocations: 38.45 kB / 1.275 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.8827, allocations: 12.94 kB / 1.275 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.8827, allocations: 8 kB / 1.275 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.8829, allocations: 59.39 kB / 1.275 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.8829, allocations: 0 / 1.275 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002311/0.8832, allocations: 73.58 kB / 1.275 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.8832, allocations: 55.41 kB / 1.276 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.8833, allocations: 105.8 kB / 1.276 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.8833, allocations: 33.7 kB / 1.276 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.8834, allocations: 80.14 kB / 1.276 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.8834, allocations: 19.88 kB / 1.276 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.8834, allocations: 17.72 kB / 1.276 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8836, allocations: 314.8 kB / 1.276 GB, free: 324 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.8836, allocations: 11.98 kB / 1.276 GB, free: 312 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.8837, allocations: 35.42 kB / 1.276 GB, free: 264 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.8837, allocations: 51.36 kB / 1.276 GB, free: 200 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8837, allocations: 7.938 kB / 1.276 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001137/0.8839, allocations: 73.56 kB / 1.276 GB, free: 112 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8839, allocations: 6.031 kB / 1.276 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8839, allocations: 4 kB / 1.276 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8839, allocations: 0.5 kB / 1.276 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.884, allocations: 16 kB / 1.276 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.884, allocations: 0 / 1.276 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.884, allocations: 8 kB / 1.276 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.884, allocations: 4.156 kB / 1.276 GB, free: 76 kB / 0.9669 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001207/0.8841, allocations: 118.7 kB / 1.276 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.8841, allocations: 11.94 kB / 1.276 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.8842, allocations: 7.906 kB / 1.276 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.8842, allocations: 0 / 1.276 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8842, allocations: 0 / 1.276 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8842, allocations: 4 kB / 1.276 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.8845, allocations: 302.5 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8845, allocations: 0 / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.8845, allocations: 7.938 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8845, allocations: 0 / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.8845, allocations: 4 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8845, allocations: 4 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8845, allocations: 3.984 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.8847, allocations: 169 kB / 1.277 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.8848, allocations: 81.06 kB / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.8848, allocations: 4 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.8848, allocations: 4 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.8848, allocations: 3.984 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.8849, allocations: 0 / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.503e-05/0.8849, allocations: 83.28 kB / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8849, allocations: 0 / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003027/0.8852, allocations: 43.8 kB / 1.277 GB, free: 15.14 MB / 0.9825 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009319/0.8861, allocations: 0.7739 MB / 1.278 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.8863, allocations: 31.98 kB / 1.278 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.8863, allocations: 4.062 kB / 1.278 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.8864, allocations: 19.92 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.8866, allocations: 6.75 kB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.8879, allocations: 1.301 MB / 1.279 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.8882, allocations: 0.6846 MB / 1.28 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.8882, allocations: 0 / 1.28 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.8883, allocations: 15.44 kB / 1.28 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8883, allocations: 0 / 1.28 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.9147, allocations: 2.078 MB / 1.282 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/9.165, allocations: 17.55 kB / 1.282 GB, free: 10.17 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 15.352436305955052]