Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000792/0.000792, allocations: 92.23 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.005652/0.005652, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.43/1.43, 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.3-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7367, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001319/0.7381, allocations: 0.9498 MB / 0.956 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000882/0.739, allocations: 452.6 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.739, allocations: 0 / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.739, allocations: 0 / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/0.7391, allocations: 4.969 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.7397, allocations: 92.42 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.7397, allocations: 17.89 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.7398, allocations: 1.125 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.7398, allocations: 17.27 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.7399, allocations: 10.55 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.7399, allocations: 6.25 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.7401, allocations: 107.6 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.7402, allocations: 1.031 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.7402, allocations: 41.97 kB / 0.9567 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.7404, allocations: 99.86 kB / 0.9568 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7404, allocations: 1 kB / 0.9568 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7404, allocations: 0 / 0.9568 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7405, allocations: 0 / 0.9568 GB, free: 6.387 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004143/0.7409, allocations: 377.8 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7409, allocations: 12.41 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.741, allocations: 3.125 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.7411, allocations: 178.7 kB / 0.9573 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.7411, allocations: 1.469 kB / 0.9573 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.7411, allocations: 2.719 kB / 0.9573 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.7412, allocations: 41.34 kB / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7412, allocations: 192 / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7413, allocations: 3.938 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7413, allocations: 5.281 kB / 0.9574 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.7413, allocations: 12.78 kB / 0.9574 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.7415, allocations: 158.1 kB / 0.9575 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.7415, allocations: 32.36 kB / 0.9576 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.7416, allocations: 14.98 kB / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.7416, allocations: 0.9688 kB / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.7417, allocations: 57.02 kB / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.7418, allocations: 4 kB / 0.9576 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002342/0.742, allocations: 78.31 kB / 0.9577 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.742, allocations: 53.5 kB / 0.9578 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.7421, allocations: 103.3 kB / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.7421, allocations: 26.8 kB / 0.9579 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.7421, allocations: 93.06 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.7422, allocations: 10.2 kB / 0.958 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.7422, allocations: 15.91 kB / 0.958 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.825e-05/0.7423, allocations: 317.2 kB / 0.9583 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.7423, allocations: 16.48 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.7423, allocations: 37.02 kB / 0.9584 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/0.7424, allocations: 58.75 kB / 0.9584 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7424, allocations: 1.438 kB / 0.9584 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001043/0.7425, allocations: 75.59 kB / 0.9585 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7425, allocations: 9.719 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7425, allocations: 1.125 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7426, allocations: 2.281 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.7426, allocations: 15.42 kB / 0.9585 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7426, allocations: 2.312 kB / 0.9585 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.7427, allocations: 9.469 kB / 0.9585 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.7427, allocations: 2.5 kB / 0.9585 GB, free: 4.52 MB / 0.7169 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 (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 (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.581e-05/0.7428, allocations: 118.4 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.7428, allocations: 5.375 kB / 0.9586 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.7428, allocations: 7.562 kB / 0.9587 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.7428, allocations: 1.469 kB / 0.9587 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7428, allocations: 0 / 0.9587 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7428, allocations: 3.984 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.938e-05/0.7429, allocations: 155.4 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7429, allocations: 7.938 kB / 0.9588 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.7429, allocations: 4.062 kB / 0.9588 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7429, allocations: 3.938 kB / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.743, allocations: 1.875 kB / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.743, allocations: 0 / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.743, allocations: 0 / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.7431, allocations: 93.8 kB / 0.9589 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.7431, allocations: 82.98 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.7431, allocations: 9.906 kB / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.7432, allocations: 0 / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.7432, allocations: 5.953 kB / 0.959 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.7432, allocations: 1.75 kB / 0.959 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.7432, allocations: 79.25 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7432, allocations: 0 / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002614/0.7435, allocations: 36.08 kB / 0.9591 GB, free: 3.895 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 (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.0003115/0.7438, allocations: 171.8 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.7439, allocations: 31.52 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7439, allocations: 0 / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.744, allocations: 18.94 kB / 0.9593 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.7441, allocations: 1.531 kB / 0.9593 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.7444, allocations: 130.4 kB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/0.7445, allocations: 0.6793 MB / 0.9601 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.7445, allocations: 2.969 kB / 0.9601 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.7445, allocations: 8.938 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7445, allocations: 0 / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.003248/0.7478, allocations: 1.072 MB / 0.9612 GB, free: 2.348 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y