Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.00161/0.00161, allocations: 108 kB / 15.6 MB, free: 132 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.002157/0.002157, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 61.47 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3727, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002706/0.3755, allocations: 1.21 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.3764, allocations: 436.8 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.3765, allocations: 4 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.3765, allocations: 3.938 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.3766, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.3772, allocations: 111.6 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.3773, allocations: 15.98 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.3774, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.3774, allocations: 15.92 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.3774, allocations: 7.984 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3775, allocations: 3.938 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.3777, allocations: 107.8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.3777, allocations: 3.984 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.3778, allocations: 7.938 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.378, allocations: 91.86 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.378, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.378, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.378, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 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.0005246/0.3786, allocations: 385.3 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3786, allocations: 8.031 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.3787, allocations: 4.938 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3788, allocations: 164.4 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.3788, allocations: 384 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3789, allocations: 12.3 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.379, allocations: 42.19 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.379, allocations: 192 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.379, allocations: 3.938 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.379, allocations: 3.984 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.477e-05/0.3791, allocations: 4 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.3792, allocations: 157.7 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.3793, allocations: 30.61 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.3794, allocations: 8.859 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.3794, allocations: 7.938 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3796, allocations: 55.48 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.266e-06/0.3796, allocations: 4 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002111/0.3798, allocations: 69.53 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3798, allocations: 51.41 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.3799, allocations: 105.8 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.38, allocations: 33.7 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.38, allocations: 80.14 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.38, allocations: 3.906 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.3801, allocations: 25.7 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3802, allocations: 318.8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.3803, allocations: 11.97 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.3803, allocations: 31.44 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.3804, allocations: 51.3 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3804, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.3805, allocations: 65.62 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3805, allocations: 7.938 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3805, allocations: 4.422 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3806, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.3806, allocations: 11.94 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3806, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.3807, allocations: 3.906 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.3807, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 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 8.209e-05/0.3808, allocations: 125.9 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.3808, allocations: 3.938 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.3808, allocations: 7.484 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3808, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3808, allocations: 4 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3809, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.381, allocations: 153.7 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.381, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.381, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.381, allocations: 7.938 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3811, allocations: 15.92 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3811, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3811, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3812, allocations: 81.06 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.3813, allocations: 85 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3813, allocations: 7.938 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.3813, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3813, allocations: 8 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3813, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.3814, allocations: 79.27 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3814, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002549/0.3817, allocations: 32 kB / 1.072 GB, free: 5.715 MB / 0.8262 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.0003617/0.382, allocations: 160.6 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3822, allocations: 40.09 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3822, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.3822, allocations: 15.98 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.3824, allocations: 2.406 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.3826, allocations: 116.7 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3829, allocations: 0.6768 MB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.3829, allocations: 4.188 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.3829, allocations: 11.44 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3829, allocations: 3.938 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of Templates: time 0.003379/0.3863, allocations: 1.043 MB / 1.074 GB, free: 3.602 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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