Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001071/0.001071, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001106/0.001107, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.397/2.397, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.98 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2923, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002251/0.2946, allocations: 1.232 MB / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000873/0.2955, allocations: 468.9 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.2955, allocations: 0 / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.2956, allocations: 3.938 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.2956, allocations: 4 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.2961, allocations: 111.6 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.2962, allocations: 19.92 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.2963, allocations: 7.984 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.2963, allocations: 4 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.2963, allocations: 23.84 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2963, allocations: 0 / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.2965, allocations: 95.91 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.2966, allocations: 11.98 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.2966, allocations: 3.938 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2968, allocations: 103.8 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2968, allocations: 8.109 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2968, allocations: 3.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2968, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 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.0004843/0.2973, allocations: 386.1 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2974, allocations: 11.97 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.2974, allocations: 4.938 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.2975, allocations: 160.4 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2976, allocations: 4.375 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.2976, allocations: 4.375 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2977, allocations: 46.23 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2977, allocations: 192 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.2977, allocations: 3.938 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2977, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.2978, allocations: 4 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.298, allocations: 161.6 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.961e-05/0.2981, allocations: 30.56 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.2981, allocations: 16.86 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.2981, allocations: 4 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.2983, allocations: 55.48 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2983, allocations: 0 / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000201/0.2985, allocations: 73.55 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2985, allocations: 51.41 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.2986, allocations: 109.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2986, allocations: 29.7 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.2987, allocations: 80.14 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.2987, allocations: 11.84 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.2987, allocations: 29.69 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2988, allocations: 314.8 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.2989, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.2989, allocations: 47.34 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.299, allocations: 43.56 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.299, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.2991, allocations: 77.44 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2991, allocations: 12.03 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2991, allocations: 4 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2991, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.2992, allocations: 12 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2992, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.2992, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2993, allocations: 4.25 kB / 1.03 GB, free: 13.97 MB / 0.8106 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 7.512e-05/0.2993, allocations: 117.8 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.2994, allocations: 15.83 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.2994, allocations: 11.91 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2994, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2994, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2994, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2995, allocations: 161.5 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2995, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.2996, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2996, allocations: 3.938 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2996, allocations: 3.984 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2996, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2996, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.2997, allocations: 85.12 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.2998, allocations: 81.09 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2998, allocations: 3.938 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.2998, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.2998, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2998, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.2999, allocations: 83.27 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2999, allocations: 8 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000235/0.3001, allocations: 28 kB / 1.031 GB, free: 13.27 MB / 0.8106 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.0003211/0.3005, allocations: 174.1 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.3006, allocations: 23.98 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3006, allocations: 192 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.3006, allocations: 19.94 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3008, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.301, allocations: 120.8 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.3012, allocations: 0.6729 MB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.3013, allocations: 7.984 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.3013, allocations: 7.438 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3013, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.003307/0.3046, allocations: 1.07 MB / 1.033 GB, free: 11.12 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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