Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 63.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5549, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002225/0.5572, allocations: 1.22 MB / 0.9509 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000842/0.558, allocations: 471.8 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.5581, allocations: 1.094 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.5581, allocations: 3.938 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.5582, allocations: 0 / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.5586, allocations: 107.8 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.844e-05/0.5587, allocations: 17.92 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.5587, allocations: 13 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.5587, allocations: 20.75 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.581e-05/0.5588, allocations: 7.188 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.5588, allocations: 4.906 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.559, allocations: 97.14 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.559, allocations: 5.156 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.559, allocations: 18.52 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.5592, allocations: 95.81 kB / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5592, allocations: 1.406 kB / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5592, allocations: 0 / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.5592, allocations: 0 / 0.9517 GB, free: 7.641 MB / 0.7169 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.0003372/0.5596, allocations: 380.6 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5596, allocations: 18.23 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.5596, allocations: 35.56 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.5597, allocations: 2.656 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.93e-05/0.5597, allocations: 166.9 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5598, allocations: 5.281 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.5598, allocations: 4 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.56e-05/0.5599, allocations: 39.39 kB / 0.9523 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.5599, allocations: 5.406 kB / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.5599, allocations: 4 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5599, allocations: 3.938 kB / 0.9524 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.5599, allocations: 12.38 kB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.5603, allocations: 249.5 kB / 0.9526 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.5604, allocations: 37.14 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.5604, allocations: 16.66 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.5604, allocations: 5.453 kB / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.5605, allocations: 65.09 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.5606, allocations: 0 / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002089/0.5608, allocations: 69.92 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.5608, allocations: 53.06 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.389e-05/0.5609, allocations: 105.5 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.5609, allocations: 31.36 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.5609, allocations: 93.75 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.5609, allocations: 12.62 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.561, allocations: 23.67 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.561, allocations: 316.1 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.5611, allocations: 10.89 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.5611, allocations: 35.19 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.5612, allocations: 53.45 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5612, allocations: 5.25 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.461e-05/0.5613, allocations: 69.91 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.5613, allocations: 6.25 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5613, allocations: 5.328 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5613, allocations: 1.312 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.5614, allocations: 6.812 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5614, allocations: 5.344 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.5614, allocations: 14.06 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5615, allocations: 2.812 kB / 0.9536 GB, free: 5.656 MB / 0.7169 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 5.827e-05/0.5615, allocations: 116.2 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.5615, allocations: 2.5 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.5616, allocations: 13.17 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5616, allocations: 0 / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5616, allocations: 1.375 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5616, allocations: 0 / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.5618, allocations: 302.4 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5618, allocations: 1.406 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.5618, allocations: 10.94 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5618, allocations: 0 / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.5618, allocations: 5.156 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5618, allocations: 0 / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5618, allocations: 1.375 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.562, allocations: 167.8 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.562, allocations: 78.17 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.562, allocations: 1.125 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.5621, allocations: 4 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.5621, allocations: 2.875 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.5621, allocations: 5.516 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.147e-05/0.5621, allocations: 83.03 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5621, allocations: 1.219 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002822/0.5624, allocations: 43.92 kB / 0.9544 GB, free: 4.828 MB / 0.7169 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.000559/0.563, allocations: 0.7735 MB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.5631, allocations: 33.39 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5631, allocations: 4.125 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.5632, allocations: 14.03 kB / 0.9552 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.5634, allocations: 12.62 kB / 0.9552 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.5642, allocations: 1.28 MB / 0.9565 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.5643, allocations: 0.6851 MB / 0.9571 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.5643, allocations: 2.938 kB / 0.9572 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.5644, allocations: 13.2 kB / 0.9572 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5644, allocations: 0 / 0.9572 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.5826, allocations: 2.044 MB / 0.9592 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.318, allocations: 20.33 kB / 0.9592 GB, free: 0.9531 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y