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.00107/0.001071, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001025/0.001025, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.181/2.181, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 56.09 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6856, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002052/0.6877, allocations: 1.233 MB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.6885, allocations: 462.2 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.6885, allocations: 3.938 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.6886, allocations: 0 / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.6886, allocations: 4.844 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.6891, allocations: 117.5 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.6892, allocations: 16.98 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.6892, allocations: 11.12 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.6892, allocations: 9.562 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.817e-05/0.6893, allocations: 6.922 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.6893, allocations: 1.344 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.6895, allocations: 110.8 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.6895, allocations: 6.641 kB / 1.091 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.6896, allocations: 13.06 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.6898, allocations: 98.19 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6898, allocations: 0 / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6898, allocations: 0.9375 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.6898, allocations: 0 / 1.091 GB, free: 4.219 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.0003851/0.6902, allocations: 386.7 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6902, allocations: 9.609 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.6903, allocations: 2.781 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.504e-05/0.6903, allocations: 167.8 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.6903, allocations: 1.953 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6904, allocations: 2.594 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.6905, allocations: 41.27 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.6905, allocations: 192 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.6905, allocations: 9.5 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6905, allocations: 3.984 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.6905, allocations: 8.922 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.6906, allocations: 159.6 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.6907, allocations: 28.77 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.6908, allocations: 12.58 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.6908, allocations: 0 / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.6909, allocations: 62.56 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.6909, allocations: 0 / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001991/0.6911, allocations: 70.95 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.6911, allocations: 53.3 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.6912, allocations: 107.4 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.6912, allocations: 30.83 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.6912, allocations: 82.36 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.6913, allocations: 12.64 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.6913, allocations: 23.77 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.6913, allocations: 314.4 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.6914, allocations: 9.766 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.6914, allocations: 36.98 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.6915, allocations: 49.77 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6915, allocations: 1.094 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.023e-05/0.6916, allocations: 73.77 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.6916, allocations: 5.438 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6916, allocations: 5.516 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.6916, allocations: 0.9062 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.6917, allocations: 7.938 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.6917, allocations: 6.25 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.6917, allocations: 2.125 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6917, allocations: 6.156 kB / 1.092 GB, free: 2.449 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 4.726e-05/0.6918, allocations: 117.3 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.6918, allocations: 6.391 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.6918, allocations: 9.625 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6918, allocations: 0.7031 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6918, allocations: 1.156 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.6919, allocations: 90.86 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6919, allocations: 1.969 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.328e-05/0.6919, allocations: 0.75 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.6919, allocations: 1.938 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001103/0.692, allocations: 138.8 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001186/0.6922, allocations: 235.8 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.266e-05/0.6922, allocations: 12.8 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.172e-05/0.6922, allocations: 84.84 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of Backend: time 1.8e-07/0.6922, allocations: 0 / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.6928, allocations: 161.9 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002409/0.693, allocations: 0.556 MB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of Templates: time 0.003516/0.6966, allocations: 1.101 MB / 1.095 GB, free: 0.9727 MB / 0.8575 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) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y