Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001679/0.001679, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.506/2.506, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7991, allocations: 140.4 MB / 0.9489 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.00248/0.8017, allocations: 1.273 MB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.8026, allocations: 443.6 kB / 0.9506 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.8026, allocations: 9.312 kB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.8026, allocations: 3.938 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/0.8027, allocations: 0 / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.8033, allocations: 87.28 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.8033, allocations: 16.23 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.8034, allocations: 2.75 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.8034, allocations: 8.125 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.8035, allocations: 10.67 kB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.8035, allocations: 1.375 kB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.8037, allocations: 101.2 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.8038, allocations: 13.52 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.8038, allocations: 7.281 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.804, allocations: 93.81 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.804, allocations: 0 / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.804, allocations: 0 / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.804, allocations: 3.938 kB / 0.9509 GB, free: 7.754 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.0004567/0.8045, allocations: 384.8 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.8046, allocations: 9.156 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.8046, allocations: 2.188 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.8047, allocations: 165.8 kB / 0.9515 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.8047, allocations: 1.875 kB / 0.9515 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.8047, allocations: 5.703 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.8049, allocations: 39.41 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8049, allocations: 1.25 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8049, allocations: 7.875 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8049, allocations: 1.531 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.8049, allocations: 3.031 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.8051, allocations: 161.5 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.8052, allocations: 38.48 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.8052, allocations: 9.016 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.8052, allocations: 1.438 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.8054, allocations: 64.16 kB / 0.9518 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.8054, allocations: 0 / 0.9518 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002092/0.8056, allocations: 78.27 kB / 0.9519 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8056, allocations: 51.41 kB / 0.9519 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.8057, allocations: 99.83 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.8057, allocations: 29.69 kB / 0.952 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.8058, allocations: 85.61 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.8058, allocations: 5.406 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.8058, allocations: 18.81 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.8059, allocations: 320.3 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.8059, allocations: 9.156 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.8059, allocations: 38.42 kB / 0.9525 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/0.806, allocations: 44.5 kB / 0.9525 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.806, allocations: 0 / 0.9525 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.888e-05/0.8061, allocations: 76.38 kB / 0.9526 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8061, allocations: 9.469 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.8062, allocations: 1.344 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8062, allocations: 1.125 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.8063, allocations: 11.36 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8063, allocations: 1.344 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.8063, allocations: 0.9688 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.8063, allocations: 2.844 kB / 0.9526 GB, free: 5.93 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 6.339e-05/0.8064, allocations: 116.3 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.8064, allocations: 5.094 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.8064, allocations: 4.312 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8064, allocations: 1.438 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8065, allocations: 0 / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8065, allocations: 5.172 kB / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.04e-05/0.8066, allocations: 161.5 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8066, allocations: 0 / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.8066, allocations: 2.5 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8066, allocations: 3.938 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.8066, allocations: 5.25 kB / 0.9529 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8066, allocations: 160 / 0.9529 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8066, allocations: 1.344 kB / 0.9529 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.8067, allocations: 85.58 kB / 0.953 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.8068, allocations: 78.39 kB / 0.9531 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.8068, allocations: 5.219 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/0.8068, allocations: 480 / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.8068, allocations: 5.234 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.8069, allocations: 6.5 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.8069, allocations: 85.77 kB / 0.9532 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8069, allocations: 0 / 0.9532 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002661/0.8072, allocations: 35.08 kB / 0.9532 GB, free: 5.301 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.0003477/0.8075, allocations: 167.6 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.8076, allocations: 29.48 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8076, allocations: 0 / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.8077, allocations: 15.84 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.8078, allocations: 2.594 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.8081, allocations: 120.2 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.8082, allocations: 0.6736 MB / 0.9542 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.8082, allocations: 10.08 kB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.8082, allocations: 9.156 kB / 0.9542 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8082, allocations: 1.531 kB / 0.9542 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.003612/0.8119, allocations: 1.03 MB / 0.9552 GB, free: 3.777 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y