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.001033/0.001033, allocations: 102 kB / 16.27 MB, free: 6.414 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.001141/0.001141, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.251/2.251, allocations: 390.3 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.36 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2827, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002657/0.2854, allocations: 1.216 MB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.2864, allocations: 436.6 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.2864, allocations: 4 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.2865, allocations: 0 / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.2866, allocations: 3.938 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.2872, allocations: 103.6 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.2872, allocations: 15.98 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.2873, allocations: 8 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.2873, allocations: 11.92 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.2874, allocations: 7.984 kB / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2874, allocations: 0 / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.2876, allocations: 107.8 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2876, allocations: 0 / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.2877, allocations: 15.92 kB / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.2879, allocations: 91.81 kB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2879, allocations: 0 / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2879, allocations: 4 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2879, allocations: 4 kB / 0.9522 GB, free: 6.891 MB / 0.7325 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.0005139/0.2884, allocations: 377.4 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2885, allocations: 11.97 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2885, allocations: 0.9375 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2886, allocations: 172.3 kB / 0.9528 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.2887, allocations: 384 / 0.9528 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2887, allocations: 12.31 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.2888, allocations: 34.25 kB / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2888, allocations: 4.125 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2889, allocations: 7.938 kB / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2889, allocations: 0 / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.2889, allocations: 4 kB / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.2891, allocations: 157.7 kB / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.501e-05/0.2892, allocations: 30.52 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.2892, allocations: 20.92 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2892, allocations: 4 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.2894, allocations: 55.41 kB / 0.9531 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2894, allocations: 0 / 0.9531 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.2896, allocations: 73.55 kB / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2897, allocations: 51.41 kB / 0.9532 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.2898, allocations: 101.8 kB / 0.9533 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2898, allocations: 29.7 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.2898, allocations: 84.14 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2899, allocations: 11.81 kB / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.2899, allocations: 25.7 kB / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.29, allocations: 310.8 kB / 0.9537 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.2901, allocations: 8 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.2901, allocations: 35.41 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.2902, allocations: 47.38 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2902, allocations: 0 / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.2903, allocations: 69.62 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2903, allocations: 15.86 kB / 0.9539 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2903, allocations: 4 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2903, allocations: 0 / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.2904, allocations: 12.09 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2904, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.2905, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2905, allocations: 8 kB / 0.9539 GB, free: 4.891 MB / 0.7325 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.784e-05/0.2906, allocations: 113.8 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.2906, allocations: 7.844 kB / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.2906, allocations: 11.48 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2906, allocations: 3.938 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.2907, allocations: 4 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2907, allocations: 4 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.2908, allocations: 149.7 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2908, allocations: 0 / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.2908, allocations: 3.938 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.2908, allocations: 3.938 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2909, allocations: 4 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2909, allocations: 0 / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2909, allocations: 3.938 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.291, allocations: 85.53 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.291, allocations: 81.11 kB / 0.9544 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2911, allocations: 7.984 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.2911, allocations: 7.969 kB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.2911, allocations: 0 / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2911, allocations: 4 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.2912, allocations: 75.28 kB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2912, allocations: 0 / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002562/0.2914, allocations: 35.98 kB / 0.9545 GB, free: 4.195 MB / 0.7325 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.0003716/0.2918, allocations: 167.1 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2919, allocations: 31.98 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.292, allocations: 0 / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.292, allocations: 11.94 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.2921, allocations: 10.33 kB / 0.9547 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.2924, allocations: 130.9 kB / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2927, allocations: 0.6805 MB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.2927, allocations: 11.44 kB / 0.9555 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.2927, allocations: 3.938 kB / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.003099/0.2958, allocations: 1.222 MB / 0.9567 GB, free: 1.879 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches