Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.01033/0.01033, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.002148/0.002148, allocations: 186.9 kB / 16.67 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 1.018 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.9144, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002306/0.9167, allocations: 1.228 MB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.9176, allocations: 460.9 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.9177, allocations: 0 / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.9177, allocations: 0 / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.9177, allocations: 3.938 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.9183, allocations: 115.6 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.9184, allocations: 19.92 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.9184, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.9185, allocations: 7.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.9185, allocations: 19.92 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.9185, allocations: 0 / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.9187, allocations: 111.8 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.9188, allocations: 11.91 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.9188, allocations: 11.94 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.919, allocations: 96.72 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.919, allocations: 0 / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.919, allocations: 0 / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.9191, allocations: 0 / 1.169 GB, free: 1.891 MB / 0.8887 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.0005003/0.9196, allocations: 388.9 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9196, allocations: 8.922 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.9197, allocations: 8.891 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.9198, allocations: 168.3 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.9198, allocations: 8.359 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.9198, allocations: 384 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.92, allocations: 46.19 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.92, allocations: 192 / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.92, allocations: 3.938 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.92, allocations: 3.938 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.92, allocations: 8 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.9202, allocations: 157.7 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.9203, allocations: 26.58 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.9203, allocations: 24.88 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.9203, allocations: 3.984 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.9205, allocations: 55.41 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.9205, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002204/0.9207, allocations: 81.56 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.9208, allocations: 55.41 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.9208, allocations: 110 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.9209, allocations: 29.7 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.9209, allocations: 84.14 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.9209, allocations: 7.906 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.921, allocations: 29.7 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9211, allocations: 314.8 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.9211, allocations: 8 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.9212, allocations: 40.28 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.919e-05/0.9212, allocations: 52.28 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9213, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001112/0.9214, allocations: 77.5 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9214, allocations: 11.94 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.9214, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9214, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.9215, allocations: 16.12 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.9215, allocations: 7.984 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.9216, allocations: 7.891 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.9216, allocations: 7.938 kB / 1.17 GB, free: 15.81 MB / 0.9044 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 7.595e-05/0.9217, allocations: 117.8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.9217, allocations: 3.938 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.9217, allocations: 3.562 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9217, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9217, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9217, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.9219, allocations: 161.6 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9219, allocations: 3.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.9219, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.9219, allocations: 3.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.9219, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9219, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9219, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.9221, allocations: 101 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.9221, allocations: 77.11 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.9222, allocations: 4.25 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/0.9222, allocations: 4 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.9222, allocations: 4 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.9222, allocations: 7.984 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.9223, allocations: 79.28 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9223, allocations: 0 / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002607/0.9225, allocations: 43.86 kB / 1.171 GB, free: 15.09 MB / 0.9044 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.0003713/0.9229, allocations: 161.8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.9231, allocations: 35.92 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9231, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.9231, allocations: 12 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.9233, allocations: 4.25 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.9235, allocations: 120.9 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.9238, allocations: 0.6807 MB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.9238, allocations: 3.938 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.9238, allocations: 11.44 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.9238, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.003561/0.9274, allocations: 1.09 MB / 1.173 GB, free: 12.93 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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