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.007806/0.007806, allocations: 103.3 kB / 15.74 MB, free: 5.957 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.001741/0.001741, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.384/1.384, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.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.304/2.304, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002342, allocations: 59.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9337, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002166/0.9359, allocations: 1.228 MB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.9368, allocations: 458.1 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.9369, allocations: 0 / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.9369, allocations: 0.8125 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.937, allocations: 3.938 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.9376, allocations: 114.9 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.9377, allocations: 24.95 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.9378, allocations: 2.766 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.9378, allocations: 11.28 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.9378, allocations: 9.594 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.9378, allocations: 1.375 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.9381, allocations: 105.1 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.9381, allocations: 8.125 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.9381, allocations: 20.72 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.9384, allocations: 96.52 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9384, allocations: 0 / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9384, allocations: 5.031 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.9384, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 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.0004395/0.9388, allocations: 383.2 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.9389, allocations: 9.844 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.9389, allocations: 2.094 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.939, allocations: 176.2 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.939, allocations: 2.234 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.9391, allocations: 3.156 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.9392, allocations: 47 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.9392, allocations: 192 / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.9392, allocations: 7.875 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.9392, allocations: 1.75 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.9393, allocations: 5.312 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.9394, allocations: 156.4 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.9395, allocations: 26.19 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.9395, allocations: 16.06 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.9395, allocations: 5.312 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.9397, allocations: 63.2 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.9397, allocations: 1.125 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002134/0.9399, allocations: 76.19 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.9399, allocations: 53.05 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.94, allocations: 107.3 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.94, allocations: 30.73 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.9401, allocations: 85.73 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.9401, allocations: 12.89 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.9401, allocations: 21.45 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.9402, allocations: 317.8 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.9402, allocations: 6.719 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.9403, allocations: 47.84 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.9403, allocations: 56.64 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9403, allocations: 0 / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001008/0.9404, allocations: 73.66 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9405, allocations: 15.39 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9405, allocations: 5.219 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9405, allocations: 5.094 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.9406, allocations: 10.14 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9406, allocations: 1.438 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.9406, allocations: 2.109 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.9406, allocations: 3.656 kB / 1.092 GB, free: 2.41 MB / 0.8575 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 6.414e-05/0.9407, allocations: 117 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.9407, allocations: 15.17 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.9408, allocations: 3.562 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9408, allocations: 2.234 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9408, allocations: 0 / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.9408, allocations: 1.688 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.9409, allocations: 159.7 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.9409, allocations: 0 / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.941, allocations: 7.938 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.941, allocations: 4.594 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.941, allocations: 1.969 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.941, allocations: 0 / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.941, allocations: 5.406 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.9412, allocations: 87.97 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.9412, allocations: 82.78 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.9412, allocations: 5.969 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/0.9413, allocations: 1.188 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.9413, allocations: 10.36 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.9413, allocations: 3.359 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.9414, allocations: 88.19 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9414, allocations: 0 / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003141/0.9417, allocations: 34.36 kB / 1.092 GB, free: 1.793 MB / 0.8575 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.0003634/0.9421, allocations: 164.8 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.9422, allocations: 36.53 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.9422, allocations: 4.062 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.9423, allocations: 16.05 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.9424, allocations: 2.297 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.9427, allocations: 116.8 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.9429, allocations: 0.679 MB / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.9429, allocations: 7.5 kB / 1.093 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.9429, allocations: 9.688 kB / 1.093 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.943, allocations: 4 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of Templates: time 0.004476/0.9474, allocations: 1.092 MB / 1.094 GB, free: 0.7031 MB / 0.8575 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