Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001741/0.001741, allocations: 115.5 kB / 16.81 MB, free: 5.77 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.001919/0.001919, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.421/1.421, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7556 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.88 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002289/0.3086, allocations: 1.23 MB / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.3095, allocations: 470.7 kB / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.3095, allocations: 4 kB / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.3095, allocations: 0 / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.3095, allocations: 3.938 kB / 1.264 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.31, allocations: 107.6 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.3101, allocations: 19.92 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.3102, allocations: 7.984 kB / 1.264 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.3102, allocations: 15.92 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.3102, allocations: 11.92 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3102, allocations: 4 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.3105, allocations: 107.8 kB / 1.264 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.3105, allocations: 8 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.3105, allocations: 3.938 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3107, allocations: 107.7 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3107, allocations: 4 kB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3107, allocations: 0 / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3107, allocations: 0 / 1.264 GB, free: 10.87 MB / 0.9825 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.0005148/0.3112, allocations: 392.8 kB / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3113, allocations: 8.031 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3113, allocations: 4.938 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3114, allocations: 164.4 kB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3114, allocations: 8.359 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.3115, allocations: 4.375 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3116, allocations: 34.25 kB / 1.265 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3116, allocations: 4.188 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3116, allocations: 7.938 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.3116, allocations: 3.938 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.3116, allocations: 4 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3118, allocations: 161.7 kB / 1.265 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.3119, allocations: 30.52 kB / 1.265 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.3119, allocations: 16.94 kB / 1.265 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3119, allocations: 0 / 1.265 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.312, allocations: 55.41 kB / 1.265 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.312, allocations: 0 / 1.265 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002188/0.3123, allocations: 77.55 kB / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.3123, allocations: 51.41 kB / 1.265 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.3124, allocations: 109.8 kB / 1.265 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3124, allocations: 25.7 kB / 1.265 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.3125, allocations: 80.14 kB / 1.265 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3125, allocations: 19.91 kB / 1.265 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3125, allocations: 21.7 kB / 1.265 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3126, allocations: 314.8 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.3127, allocations: 11.98 kB / 1.266 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.3127, allocations: 27.44 kB / 1.266 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.587e-05/0.3128, allocations: 51.56 kB / 1.266 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3128, allocations: 0 / 1.266 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001065/0.3129, allocations: 69.59 kB / 1.266 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3129, allocations: 7.938 kB / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3129, allocations: 7.875 kB / 1.266 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3129, allocations: 4 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.313, allocations: 8.094 kB / 1.266 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.313, allocations: 8 kB / 1.266 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.313, allocations: 256 / 1.266 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.313, allocations: 8 kB / 1.266 GB, free: 8.848 MB / 0.9825 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.348e-05/0.3131, allocations: 113.8 kB / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.3131, allocations: 7.953 kB / 1.266 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.3131, allocations: 7.844 kB / 1.266 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3131, allocations: 0 / 1.266 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3131, allocations: 0 / 1.266 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.3132, allocations: 81.11 kB / 1.266 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3132, allocations: 4 kB / 1.266 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.533e-05/0.3132, allocations: 7.922 kB / 1.266 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.3133, allocations: 3.938 kB / 1.266 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001468/0.3134, allocations: 133 kB / 1.266 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001874/0.3136, allocations: 234.7 kB / 1.266 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.315e-05/0.3136, allocations: 15.98 kB / 1.266 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.3137, allocations: 87.22 kB / 1.266 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of Backend: time 2.11e-07/0.3137, allocations: 0 / 1.266 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005796/0.3142, allocations: 163.8 kB / 1.267 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0004126/0.3147, allocations: 0.5526 MB / 1.267 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.003615/0.3183, allocations: 1.121 MB / 1.268 GB, free: 6.23 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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