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.001063/0.001063, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008289/0.008289, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.524/1.524, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.871/2.871, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 7.781 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3394, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001454/0.3409, allocations: 0.9548 MB / 1.06 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.3419, allocations: 462.5 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.3419, allocations: 0 / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.3419, allocations: 0 / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.342, allocations: 4 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.3425, allocations: 95.72 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.3426, allocations: 19.92 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.3427, allocations: 8 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.3427, allocations: 7.984 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.338e-05/0.3427, allocations: 7.938 kB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.3428, allocations: 0 / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.343, allocations: 107.8 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.343, allocations: 3.984 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.3431, allocations: 41.62 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3433, allocations: 91.81 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3433, allocations: 0 / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3433, allocations: 0 / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.3433, allocations: 4 kB / 1.06 GB, free: 3.711 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.0004698/0.3438, allocations: 385.4 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3438, allocations: 8.031 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.3439, allocations: 4.844 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.344, allocations: 172.3 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.344, allocations: 4.359 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3441, allocations: 4.375 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.3442, allocations: 38.25 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3442, allocations: 4.188 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3442, allocations: 3.938 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3442, allocations: 4 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.3442, allocations: 0 / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.3444, allocations: 161.7 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.3445, allocations: 30.52 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.3446, allocations: 16.94 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.3446, allocations: 0 / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.3447, allocations: 55.41 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3447, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002063/0.3449, allocations: 85.53 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.345, allocations: 51.41 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.3451, allocations: 105.8 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3451, allocations: 25.7 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.3451, allocations: 88.14 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3452, allocations: 11.84 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.3452, allocations: 17.7 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3453, allocations: 314.8 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.3453, allocations: 8 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.3454, allocations: 35.47 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/0.3455, allocations: 51.36 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3455, allocations: 0 / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.3456, allocations: 73.52 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3456, allocations: 7.938 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3456, allocations: 0 / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3456, allocations: 7.938 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.3457, allocations: 8.031 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3457, allocations: 8 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.3457, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3457, allocations: 8 kB / 1.062 GB, free: 1.691 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 8.123e-05/0.3458, allocations: 115.4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.3458, allocations: 3.938 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.3459, allocations: 7.906 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3459, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3459, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3459, allocations: 4 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.346, allocations: 153.7 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.346, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/0.3461, allocations: 4 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3461, allocations: 7.938 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3461, allocations: 8.172 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3461, allocations: 0 / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3461, allocations: 4 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3462, allocations: 85.03 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.3463, allocations: 85.09 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.3463, allocations: 3.938 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.3463, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.3463, allocations: 4 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3464, allocations: 0 / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.3464, allocations: 87.27 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3464, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002525/0.3467, allocations: 32 kB / 1.063 GB, free: 0.9961 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.0003481/0.347, allocations: 176.7 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.3471, allocations: 31.92 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3471, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.3472, allocations: 15.94 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3473, allocations: 1.203 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.3476, allocations: 126.7 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3478, allocations: 0.6731 MB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.3479, allocations: 7.984 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3479, allocations: 7.438 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3479, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of Templates: time 0.003179/0.3511, allocations: 1.054 MB / 1.065 GB, free: 14.86 MB / 0.8262 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/jenkins/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