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.001356/0.001356, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001695/0.001695, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.889/2.889, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 8.594 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3726, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001459/0.3741, allocations: 0.9394 MB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000866/0.375, allocations: 430.8 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.375, allocations: 4 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.3751, allocations: 3.938 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.3751, allocations: 0 / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.3756, allocations: 91.77 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.3757, allocations: 19.92 kB / 1.059 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.3758, allocations: 4 kB / 1.059 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.3758, allocations: 4 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.3758, allocations: 15.92 kB / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.3759, allocations: 0 / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3761, allocations: 95.83 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3761, allocations: 11.98 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.3761, allocations: 25.7 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3763, allocations: 67.91 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3763, allocations: 0 / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.188e-06/0.3763, allocations: 0 / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3763, allocations: 3.938 kB / 1.06 GB, free: 3.562 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.0005441/0.3769, allocations: 381.2 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3769, allocations: 12.03 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.377, allocations: 3.906 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3771, allocations: 171 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.3771, allocations: 0 / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3772, allocations: 7.953 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3773, allocations: 37.69 kB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3773, allocations: 0 / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3773, allocations: 3.984 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3773, allocations: 0 / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.3774, allocations: 4 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.3776, allocations: 153.7 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.3777, allocations: 38.55 kB / 1.06 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.3777, allocations: 16.86 kB / 1.06 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3777, allocations: 7.938 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.3779, allocations: 59.47 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.3779, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.3781, allocations: 73.52 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3782, allocations: 59.41 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.3783, allocations: 101.8 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3783, allocations: 29.7 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.3783, allocations: 80.14 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.3784, allocations: 11.84 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.3784, allocations: 3.938 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3785, allocations: 318.8 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.3785, allocations: 7.984 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.3786, allocations: 43.38 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.3786, allocations: 8 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3786, allocations: 3.984 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.545e-05/0.3787, allocations: 73.52 kB / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3788, allocations: 8.094 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3788, allocations: 4 kB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.3788, allocations: 0 / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.3788, allocations: 8 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3789, allocations: 0 / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.3789, allocations: 7.906 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3789, allocations: 0 / 1.061 GB, free: 1.621 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.431e-05/0.379, allocations: 121.8 kB / 1.061 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.379, allocations: 3.953 kB / 1.061 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.3791, allocations: 11.91 kB / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3791, allocations: 0 / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3791, allocations: 0 / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.3791, allocations: 256 / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3792, allocations: 153.7 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3792, allocations: 4 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.3792, allocations: 7.984 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3792, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3793, allocations: 3.953 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3793, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3793, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3794, allocations: 93.02 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3794, allocations: 77.11 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3795, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.3795, allocations: 11.95 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.3795, allocations: 3.938 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.3795, allocations: 3.984 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.3796, allocations: 79.28 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3796, allocations: 0 / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000273/0.3799, allocations: 39.98 kB / 1.062 GB, free: 0.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000378/0.3802, allocations: 173.4 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3804, allocations: 31.92 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3804, allocations: 0 / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.3804, allocations: 8.188 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.3806, allocations: 4 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.3809, allocations: 128.5 kB / 1.062 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3812, allocations: 0.6731 MB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.3812, allocations: 7.984 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.3812, allocations: 7.438 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3812, allocations: 4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.003679/0.3849, allocations: 1.038 MB / 1.064 GB, free: 14.8 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