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.0008712/0.0008711, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005676/0.005676, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.847/2.847, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 9 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3524, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001363/0.3538, allocations: 0.9587 MB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.3547, allocations: 466.6 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.3548, allocations: 0 / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.3548, allocations: 0 / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.3548, allocations: 0 / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.3553, allocations: 95.72 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.3554, allocations: 19.92 kB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.3555, allocations: 0 / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.3555, allocations: 8 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.174e-05/0.3555, allocations: 15.92 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3556, allocations: 0 / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3558, allocations: 107.8 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.3558, allocations: 0 / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.3558, allocations: 41.62 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.356, allocations: 95.75 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.356, allocations: 0 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.356, allocations: 0 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.3561, allocations: 0 / 1.06 GB, free: 3.691 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.0004668/0.3565, allocations: 389.4 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3566, allocations: 8.031 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.3566, allocations: 12.84 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3567, allocations: 168.3 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3568, allocations: 384 / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3568, allocations: 4.375 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3569, allocations: 42.23 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3569, allocations: 192 / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3569, allocations: 7.938 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.357, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.357, allocations: 8 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3572, allocations: 153.7 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.3572, allocations: 34.55 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.3573, allocations: 12.86 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3573, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3575, allocations: 63.48 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3575, allocations: 0 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000206/0.3577, allocations: 73.45 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3577, allocations: 55.41 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.3578, allocations: 105.8 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3578, allocations: 25.7 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.3579, allocations: 84.14 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.3579, allocations: 11.84 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.358, allocations: 13.72 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3581, allocations: 322.8 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.3581, allocations: 4 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.3582, allocations: 39.42 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.3582, allocations: 47.38 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3582, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.951e-05/0.3583, allocations: 69.77 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3584, allocations: 11.88 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3584, allocations: 7.984 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3584, allocations: 3.984 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.3585, allocations: 11.94 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3585, allocations: 160 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.3585, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3585, allocations: 12.08 kB / 1.062 GB, free: 1.668 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.761e-05/0.3586, allocations: 115.4 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.3586, allocations: 7.875 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.3587, allocations: 7.891 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3587, allocations: 4 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3587, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3587, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3588, allocations: 153.7 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3588, allocations: 0 / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.3589, allocations: 8 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3589, allocations: 3.938 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3589, allocations: 256 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.3589, allocations: 7.938 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3589, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.359, allocations: 93.02 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.3591, allocations: 77.11 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.3591, allocations: 7.922 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.3591, allocations: 4 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.3592, allocations: 4 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3592, allocations: 0 / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.3592, allocations: 87.27 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3592, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002413/0.3595, allocations: 32 kB / 1.063 GB, free: 0.9688 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.0003471/0.3598, allocations: 173 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.3599, allocations: 31.86 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.36, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.36, allocations: 15.92 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.3601, allocations: 8 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.3604, allocations: 118.5 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3607, allocations: 0.685 MB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.3607, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.3607, allocations: 11.44 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3607, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003522/0.3643, allocations: 1.046 MB / 1.065 GB, free: 14.84 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