Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 102.9 kB / 16.27 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.001197/0.001197, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.194/2.194, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 62.53 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2832, allocations: 140.4 MB / 0.9503 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002853/0.2861, allocations: 1.227 MB / 0.9514 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2872, allocations: 468.5 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2872, allocations: 0 / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.2873, allocations: 3.938 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.2874, allocations: 0 / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.288, allocations: 115.6 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.659e-05/0.2881, allocations: 19.92 kB / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.2881, allocations: 8 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.2882, allocations: 11.94 kB / 0.952 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.2882, allocations: 11.92 kB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2882, allocations: 0 / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.2885, allocations: 99.89 kB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2885, allocations: 7.984 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.2886, allocations: 7.938 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2888, allocations: 107.7 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2888, allocations: 0 / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2888, allocations: 0 / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2888, allocations: 0 / 0.9523 GB, free: 6.859 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.0005464/0.2894, allocations: 389.4 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2894, allocations: 8.031 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.2895, allocations: 8.844 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2897, allocations: 164.4 kB / 0.9528 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2897, allocations: 4.312 kB / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2897, allocations: 12.38 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.2898, allocations: 34.25 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2899, allocations: 192 / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2899, allocations: 7.938 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2899, allocations: 4 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.2899, allocations: 11.92 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2901, allocations: 157.7 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.2902, allocations: 26.56 kB / 0.9531 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.2903, allocations: 16.94 kB / 0.9531 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2903, allocations: 0 / 0.9531 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.2904, allocations: 63.34 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.2904, allocations: 0 / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000225/0.2907, allocations: 77.45 kB / 0.9532 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2907, allocations: 51.41 kB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.2908, allocations: 105.8 kB / 0.9534 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2908, allocations: 25.7 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.291, allocations: 88.14 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.291, allocations: 15.83 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.2911, allocations: 17.72 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2912, allocations: 318.8 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.2912, allocations: 7.984 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.2913, allocations: 35.38 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.2913, allocations: 47.42 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2913, allocations: 0 / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001065/0.2914, allocations: 73.47 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2915, allocations: 7.938 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2915, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2915, allocations: 4 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.2916, allocations: 4 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2916, allocations: 12.08 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.2916, allocations: 0 / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2916, allocations: 4 kB / 0.954 GB, free: 4.836 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.188e-05/0.2917, allocations: 113.8 kB / 0.9541 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.2917, allocations: 7.938 kB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.2918, allocations: 7.844 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2918, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2918, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2918, allocations: 4 kB / 0.9541 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.2919, allocations: 165.6 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2919, allocations: 0 / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.292, allocations: 0 / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.292, allocations: 7.938 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.292, allocations: 256 / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.292, allocations: 4 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.292, allocations: 0 / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.2921, allocations: 85.02 kB / 0.9544 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.2922, allocations: 85.39 kB / 0.9545 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.2922, allocations: 3.938 kB / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.2922, allocations: 4 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.2923, allocations: 11.92 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2923, allocations: 3.984 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.2923, allocations: 79.28 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2923, allocations: 0 / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002643/0.2926, allocations: 35.98 kB / 0.9546 GB, free: 4.125 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.0003833/0.293, allocations: 166.8 kB / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.2931, allocations: 31.92 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2932, allocations: 0 / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.2932, allocations: 8 kB / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.2933, allocations: 15.86 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.2936, allocations: 134.9 kB / 0.9549 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.2939, allocations: 0.6805 MB / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.294, allocations: 15.38 kB / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/0.294, allocations: 0 / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of Templates: time 0.003363/0.2973, allocations: 1.261 MB / 0.9568 GB, free: 1.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches