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.007699/0.007699, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001676/0.001676, allocations: 200 kB / 16.68 MB, free: 5.922 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.444/1.444, allocations: 222.9 MB / 240.3 MB, free: 15.09 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.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 76.06 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9825/0.9839, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002251/0.9862, allocations: 1.225 MB / 1.089 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000841/0.987, allocations: 431.6 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.9871, allocations: 1.062 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.9871, allocations: 0 / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.9871, allocations: 3.938 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.9876, allocations: 116.2 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.9877, allocations: 15 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.9877, allocations: 6.578 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.9878, allocations: 5.625 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.9878, allocations: 13.48 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.9878, allocations: 1.219 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.988, allocations: 105.3 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.9881, allocations: 11.48 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.9881, allocations: 7.594 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.9883, allocations: 96.67 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9883, allocations: 5.094 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9883, allocations: 0 / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.9883, allocations: 0 / 1.09 GB, free: 4.242 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004111/0.9888, allocations: 379.4 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.9888, allocations: 9.875 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.9888, allocations: 6.578 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/0.9889, allocations: 167.4 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.989, allocations: 1.5 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.989, allocations: 2.531 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.9891, allocations: 40.78 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.9891, allocations: 192 / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.9891, allocations: 9.453 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.9891, allocations: 0 / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.9891, allocations: 4.594 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.9893, allocations: 154.8 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.113e-05/0.9893, allocations: 33.39 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.9894, allocations: 14.86 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.9894, allocations: 0.9375 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.9896, allocations: 54.09 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.9896, allocations: 4.812 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.9898, allocations: 72.52 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.9898, allocations: 52.89 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.9899, allocations: 113 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.9899, allocations: 27.95 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.9899, allocations: 85.45 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.99, allocations: 6.188 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.99, allocations: 20.48 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.9901, allocations: 317.9 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.9901, allocations: 5.359 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/0.9902, allocations: 36.92 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.9903, allocations: 46.3 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9903, allocations: 0 / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000102/0.9904, allocations: 61.84 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9904, allocations: 9.812 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9904, allocations: 14.08 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.9904, allocations: 1.438 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.9905, allocations: 14.62 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.9905, allocations: 2.016 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.9905, allocations: 3.359 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.9906, allocations: 3.703 kB / 1.092 GB, free: 2.484 MB / 0.8575 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.584e-05/0.9906, allocations: 113 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.9907, allocations: 10.09 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.9907, allocations: 9.594 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.9907, allocations: 0 / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.9907, allocations: 1.969 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.9907, allocations: 0 / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.9908, allocations: 154.6 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9908, allocations: 0 / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.9908, allocations: 2.859 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9908, allocations: 7.875 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.9909, allocations: 2.312 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9909, allocations: 0 / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9909, allocations: 1.219 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.991, allocations: 85.17 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.991, allocations: 87.44 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.9911, allocations: 3.938 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.9911, allocations: 1.953 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.9911, allocations: 1.891 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.9911, allocations: 3.172 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.534e-05/0.9911, allocations: 83.11 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9912, allocations: 4 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002624/0.9914, allocations: 29.3 kB / 1.092 GB, free: 1.883 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 (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.0003375/0.9918, allocations: 175.2 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.9919, allocations: 28.52 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9919, allocations: 0 / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.9919, allocations: 25.58 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.9921, allocations: 3.484 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.9923, allocations: 104.4 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.9925, allocations: 0.6774 MB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.9925, allocations: 2.359 kB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.9925, allocations: 10.08 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9925, allocations: 0 / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of Templates: time 0.003788/0.9963, allocations: 1.053 MB / 1.094 GB, free: 0.7969 MB / 0.8575 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