Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001872/0.001872, allocations: 107.3 kB / 16.46 MB, free: 6.508 MB / 14.72 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.002185/0.002185, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 9.086 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 77.45 kB / 1.112 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3512, allocations: 169.9 MB / 1.278 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002453/0.3537, allocations: 1.254 MB / 1.279 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.3547, allocations: 470.8 kB / 1.28 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.3547, allocations: 0 / 1.28 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.3547, allocations: 0 / 1.28 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.3548, allocations: 3.938 kB / 1.28 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.3553, allocations: 115.6 kB / 1.28 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.3554, allocations: 23.92 kB / 1.28 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.3554, allocations: 0 / 1.28 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.3555, allocations: 11.98 kB / 1.28 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.3555, allocations: 15.91 kB / 1.28 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3555, allocations: 4 kB / 1.28 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.3558, allocations: 123.8 kB / 1.28 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.3558, allocations: 0 / 1.28 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.3558, allocations: 15.92 kB / 1.28 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.356, allocations: 104 kB / 1.28 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.356, allocations: 0 / 1.28 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.356, allocations: 4 kB / 1.28 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3561, allocations: 0 / 1.28 GB, free: 3.098 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000592/0.3566, allocations: 392.8 kB / 1.281 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3567, allocations: 8.031 kB / 1.281 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.3568, allocations: 34.69 kB / 1.281 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.3568, allocations: 8.891 kB / 1.281 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.357, allocations: 176.3 kB / 1.281 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.357, allocations: 4.375 kB / 1.281 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.357, allocations: 12.31 kB / 1.281 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3571, allocations: 42.25 kB / 1.281 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3571, allocations: 3.938 kB / 1.281 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3572, allocations: 0 / 1.281 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3572, allocations: 4 kB / 1.281 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.094e-05/0.3572, allocations: 7.984 kB / 1.281 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.3576, allocations: 248.9 kB / 1.281 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.118e-05/0.3577, allocations: 34.52 kB / 1.281 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.3577, allocations: 20.97 kB / 1.281 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3577, allocations: 0 / 1.281 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.3579, allocations: 60.67 kB / 1.281 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3579, allocations: 0 / 1.281 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002335/0.3581, allocations: 85.58 kB / 1.281 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.3582, allocations: 59.39 kB / 1.281 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.3582, allocations: 101.9 kB / 1.282 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3583, allocations: 29.7 kB / 1.282 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.3583, allocations: 84.12 kB / 1.282 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3583, allocations: 19.84 kB / 1.282 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3584, allocations: 21.72 kB / 1.282 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3585, allocations: 318.8 kB / 1.282 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.3585, allocations: 4 kB / 1.282 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.3586, allocations: 56.16 kB / 1.282 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.697e-05/0.3587, allocations: 56.23 kB / 1.282 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3587, allocations: 3.938 kB / 1.282 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001243/0.3588, allocations: 81.56 kB / 1.282 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3588, allocations: 8 kB / 1.282 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3588, allocations: 0 / 1.282 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3589, allocations: 3.938 kB / 1.282 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.3589, allocations: 15.98 kB / 1.282 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3589, allocations: 0 / 1.282 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.359, allocations: 4 kB / 1.282 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.359, allocations: 4 kB / 1.282 GB, free: 0.8516 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 9.487e-05/0.3591, allocations: 118.1 kB / 1.282 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.3591, allocations: 7.953 kB / 1.282 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.3591, allocations: 12 kB / 1.282 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3591, allocations: 3.984 kB / 1.282 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3591, allocations: 3.938 kB / 1.282 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3591, allocations: 3.984 kB / 1.282 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.3594, allocations: 306.6 kB / 1.283 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3594, allocations: 0 / 1.283 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.3595, allocations: 4 kB / 1.283 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3595, allocations: 4 kB / 1.283 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3595, allocations: 4.562 kB / 1.283 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3595, allocations: 0 / 1.283 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3595, allocations: 0 / 1.283 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3597, allocations: 175.4 kB / 1.283 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.3597, allocations: 81.06 kB / 1.283 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3597, allocations: 0 / 1.283 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.3598, allocations: 4 kB / 1.283 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.3598, allocations: 7.984 kB / 1.283 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3598, allocations: 8 kB / 1.283 GB, free: 16 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.3599, allocations: 79.28 kB / 1.283 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3599, allocations: 0 / 1.283 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003061/0.3602, allocations: 43.8 kB / 1.283 GB, free: 15.89 MB / 0.9981 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 (6): * Single equations (assignments): 4 * 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.0008441/0.361, allocations: 0.785 MB / 1.284 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3611, allocations: 35.92 kB / 1.284 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3611, allocations: 0 / 1.284 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.3612, allocations: 19.98 kB / 1.284 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3614, allocations: 1.562 kB / 1.284 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3627, allocations: 1.317 MB / 1.285 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3631, allocations: 0.6768 MB / 1.286 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.3631, allocations: 8 kB / 1.286 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.3631, allocations: 15.42 kB / 1.286 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.3631, allocations: 0 / 1.286 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.39, allocations: 2.174 MB / 1.288 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.82, allocations: 3.703 kB / 1.288 GB, free: 10.81 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_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_Logit2D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.550241510849446]