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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 100.1 kB / 15.88 MB, free: 12 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.001976/0.001977, allocations: 200 kB / 16.79 MB, free: 6.809 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.35/2.35, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6183, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002569/0.621, allocations: 1.294 MB / 0.9508 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.6219, allocations: 473.8 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.6219, allocations: 1.031 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.6219, allocations: 0 / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.622, allocations: 0 / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.6226, allocations: 93.5 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.6226, allocations: 21.17 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.6227, allocations: 2.469 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.6227, allocations: 12.98 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.6227, allocations: 14.17 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.6228, allocations: 1.344 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.623, allocations: 102.8 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.623, allocations: 1.406 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.6231, allocations: 11.66 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.6232, allocations: 77.81 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6232, allocations: 0 / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6232, allocations: 0 / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.6232, allocations: 4 kB / 0.9516 GB, free: 7.613 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.000425/0.6237, allocations: 385 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6237, allocations: 9.812 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.6238, allocations: 5.844 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.556e-05/0.6238, allocations: 166.7 kB / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.6239, allocations: 1.688 kB / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.6239, allocations: 7 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.624, allocations: 47.09 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.624, allocations: 4.188 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.624, allocations: 5.188 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.624, allocations: 0 / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.6241, allocations: 3.781 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.6242, allocations: 158 kB / 0.9524 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.889e-05/0.6243, allocations: 27.33 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.6243, allocations: 18.73 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.6243, allocations: 7.938 kB / 0.9524 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.6245, allocations: 56.48 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.6245, allocations: 0 / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002031/0.6247, allocations: 74.36 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.6247, allocations: 52.81 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.6248, allocations: 109.9 kB / 0.9527 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.6248, allocations: 25.7 kB / 0.9527 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.6249, allocations: 89.42 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.6249, allocations: 6.875 kB / 0.9528 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.6249, allocations: 22.17 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.625, allocations: 316.7 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.625, allocations: 4.281 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.625, allocations: 34.36 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/0.6251, allocations: 47.94 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6251, allocations: 1.688 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.878e-05/0.6252, allocations: 72.73 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6252, allocations: 8.281 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6253, allocations: 5.25 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6253, allocations: 6.406 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.6253, allocations: 9.375 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.6254, allocations: 2.688 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.6254, allocations: 5.625 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.6254, allocations: 2.438 kB / 0.9533 GB, free: 5.777 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 (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.19e-05/0.6255, allocations: 112.5 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.6255, allocations: 10.05 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.6255, allocations: 3.906 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6255, allocations: 1.375 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6255, allocations: 4.234 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6255, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.989e-05/0.6256, allocations: 162.7 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6256, allocations: 3.984 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.6256, allocations: 3.125 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6257, allocations: 3.938 kB / 0.9536 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.6257, allocations: 5.109 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.6257, allocations: 0 / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6257, allocations: 1.469 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.6258, allocations: 90 kB / 0.9537 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.6258, allocations: 82.25 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.6258, allocations: 5.469 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.6259, allocations: 0 / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.6259, allocations: 5.344 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6259, allocations: 2.5 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.6259, allocations: 87.08 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6259, allocations: 0 / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002652/0.6262, allocations: 32.5 kB / 0.9539 GB, free: 5.141 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,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.0003201/0.6265, allocations: 163.8 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.6267, allocations: 29.67 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6267, allocations: 0 / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.6267, allocations: 12.72 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.6269, allocations: 2.438 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.6271, allocations: 150.4 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.6272, allocations: 0.6793 MB / 0.9549 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.6272, allocations: 13.73 kB / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6272, allocations: 0 / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.002925/0.6302, allocations: 1.253 MB / 0.9562 GB, free: 3.5 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (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 & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches