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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008127/0.0008128, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00489/0.00489, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.243/1.243, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5773, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001003/0.5784, allocations: 0.9459 MB / 0.9561 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.5791, allocations: 454.8 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.5792, allocations: 5.062 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.5792, allocations: 3.938 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.067e-05/0.5792, allocations: 0 / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.5796, allocations: 89.06 kB / 0.9566 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.5797, allocations: 21.89 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.5797, allocations: 5.984 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.5797, allocations: 20.58 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.554e-05/0.5798, allocations: 6.312 kB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.5798, allocations: 1.969 kB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.58, allocations: 102.2 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.58, allocations: 9.219 kB / 0.9568 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.58, allocations: 37.09 kB / 0.9568 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.5802, allocations: 100 kB / 0.9569 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5802, allocations: 1.188 kB / 0.9569 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5802, allocations: 0 / 0.9569 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.5802, allocations: 0 / 0.9569 GB, free: 6.363 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.0003203/0.5806, allocations: 378.2 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5806, allocations: 10.84 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.5807, allocations: 30.75 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.5807, allocations: 15.59 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.732e-05/0.5807, allocations: 169.4 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5808, allocations: 1.875 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.5808, allocations: 2.938 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/0.5809, allocations: 45.41 kB / 0.9575 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5809, allocations: 3.938 kB / 0.9575 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.5809, allocations: 0 / 0.9575 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5809, allocations: 5.188 kB / 0.9575 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.5809, allocations: 8.391 kB / 0.9575 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.5812, allocations: 253.5 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.5813, allocations: 42 kB / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.5813, allocations: 16.89 kB / 0.9578 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.5813, allocations: 0 / 0.9578 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.5814, allocations: 61.61 kB / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.5814, allocations: 0 / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001815/0.5816, allocations: 82.23 kB / 0.958 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.5817, allocations: 52.59 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.734e-05/0.5817, allocations: 101.3 kB / 0.9581 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.5817, allocations: 30.81 kB / 0.9582 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.5818, allocations: 85.36 kB / 0.9582 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.5818, allocations: 10.28 kB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.5818, allocations: 20.41 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.655e-05/0.5818, allocations: 320.3 kB / 0.9586 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.5819, allocations: 6.312 kB / 0.9586 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.5819, allocations: 42.11 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.5819, allocations: 49.97 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.582, allocations: 5.812 kB / 0.9587 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.757e-05/0.582, allocations: 70.83 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5821, allocations: 5.656 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5821, allocations: 3.938 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.5821, allocations: 1.875 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.5821, allocations: 10.91 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5822, allocations: 1.188 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.5822, allocations: 10.59 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.5822, allocations: 6.5 kB / 0.9588 GB, free: 4.383 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 4.602e-05/0.5823, allocations: 116.6 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.5823, allocations: 9.375 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.5823, allocations: 5.812 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5823, allocations: 0 / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5823, allocations: 1.844 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5823, allocations: 0 / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.5825, allocations: 307.2 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5825, allocations: 4 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.5825, allocations: 6.812 kB / 0.9592 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5825, allocations: 1.375 kB / 0.9592 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5825, allocations: 4 kB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5826, allocations: 1.438 kB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5826, allocations: 3.984 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.5827, allocations: 160.1 kB / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.5827, allocations: 82.52 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.5827, allocations: 4 kB / 0.9595 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.5828, allocations: 9.078 kB / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.5828, allocations: 1.719 kB / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.5828, allocations: 1.656 kB / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.981e-05/0.5828, allocations: 79.84 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5828, allocations: 0 / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002691/0.5831, allocations: 40.08 kB / 0.9596 GB, free: 3.555 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.0004701/0.5836, allocations: 0.7712 MB / 0.9603 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.236e-05/0.5837, allocations: 32.92 kB / 0.9604 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5837, allocations: 0 / 0.9604 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.5837, allocations: 21.3 kB / 0.9604 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.5839, allocations: 9.484 kB / 0.9604 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.5846, allocations: 1.28 MB / 0.9616 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.5847, allocations: 0.6837 MB / 0.9623 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.5848, allocations: 6.734 kB / 0.9623 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.5848, allocations: 10.19 kB / 0.9623 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5848, allocations: 0 / 0.9623 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.582/3.167, allocations: 1.844 MB / 0.9641 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/3.167, allocations: 246.3 kB / 0.9644 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/5.148, allocations: 0 / 0.9644 GB, free: 15.67 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:A,B,C,D,seed,time,x,y