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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001396/0.001396, allocations: 108.6 kB / 16.41 MB, free: 6.441 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.001396/0.001396, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.12 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7217, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002959/0.7248, allocations: 1.224 MB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.7257, allocations: 466.4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.7258, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.7258, allocations: 3.938 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.7259, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.7265, allocations: 115.6 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.7265, allocations: 15.98 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.7266, allocations: 4 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.7266, allocations: 15.88 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.974e-05/0.7267, allocations: 23.84 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.7267, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.7269, allocations: 103.9 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.7269, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.727, allocations: 11.94 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.7272, allocations: 103.7 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.7272, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7272, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.7272, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 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.0004945/0.7277, allocations: 385 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7277, allocations: 8.031 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.7278, allocations: 4.938 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.7279, allocations: 168.3 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.7279, allocations: 12.31 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.7279, allocations: 384 / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.7281, allocations: 38.25 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.7281, allocations: 192 / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.7281, allocations: 3.938 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7281, allocations: 0 / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.7281, allocations: 11.94 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.7283, allocations: 161.7 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.7284, allocations: 30.56 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.7284, allocations: 12.94 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.7285, allocations: 4 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.7286, allocations: 55.41 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.7286, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.7289, allocations: 73.55 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.7289, allocations: 51.41 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.729, allocations: 105.8 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.729, allocations: 25.7 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.7291, allocations: 88.14 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.7291, allocations: 13.62 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.7291, allocations: 29.7 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7292, allocations: 314.8 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.7293, allocations: 7.984 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.7293, allocations: 31.44 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.7294, allocations: 51.36 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7294, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.7295, allocations: 69.56 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7295, allocations: 7.938 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7295, allocations: 4 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.7295, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.7296, allocations: 11.94 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7296, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.7297, allocations: 96 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.7297, allocations: 11.98 kB / 1.212 GB, free: 9.543 MB / 0.9356 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.113e-05/0.7298, allocations: 114.1 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.7298, allocations: 7.844 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.7298, allocations: 7.844 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.7298, allocations: 4 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7298, allocations: 7.938 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7298, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.73, allocations: 157.6 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.73, allocations: 3.984 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.73, allocations: 8 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.73, allocations: 3.938 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.73, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.73, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.73, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.7302, allocations: 89.11 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.7302, allocations: 81.3 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.7302, allocations: 3.938 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.7303, allocations: 4 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.7303, allocations: 7.984 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.7303, allocations: 3.984 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.7303, allocations: 83.28 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.483e-06/0.7303, allocations: 0 / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002608/0.7306, allocations: 35.92 kB / 1.213 GB, free: 8.824 MB / 0.9356 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.0003113/0.7309, allocations: 170.5 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.731, allocations: 23.98 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7311, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.7311, allocations: 11.94 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.7312, allocations: 9.719 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.7315, allocations: 138.6 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.7317, allocations: 0.6848 MB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.7318, allocations: 11.38 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.7318, allocations: 4 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.002872/0.7346, allocations: 1.249 MB / 1.215 GB, free: 6.48 MB / 0.9356 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 -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) Reference file matches