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.0007967/0.0007965, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 184 kB / 16.92 MB, free: 6.684 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003813, allocations: 9.031 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3259, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001246/0.3271, allocations: 0.9509 MB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.328, allocations: 454.7 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.3281, allocations: 0 / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.3281, allocations: 0 / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.3281, allocations: 0 / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.3286, allocations: 103.7 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.257e-05/0.3287, allocations: 23.92 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.3287, allocations: 0 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.3287, allocations: 4 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.3288, allocations: 11.92 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3288, allocations: 0 / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.329, allocations: 103.8 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.329, allocations: 7.969 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.3291, allocations: 37.64 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3292, allocations: 71.83 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3292, allocations: 0 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3292, allocations: 4 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.3293, allocations: 0 / 1.061 GB, free: 3.203 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.0004047/0.3297, allocations: 373.4 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3297, allocations: 15.97 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.3297, allocations: 4.844 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3299, allocations: 172.3 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.3299, allocations: 4.375 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3299, allocations: 8.375 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.764e-05/0.33, allocations: 42.19 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.33, allocations: 192 / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.33, allocations: 3.938 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.33, allocations: 0 / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.3301, allocations: 7.984 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.3302, allocations: 157.7 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/0.3303, allocations: 26.58 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.3304, allocations: 20.88 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.3304, allocations: 4 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.3305, allocations: 59.39 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3305, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000199/0.3307, allocations: 73.52 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3308, allocations: 55.41 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.3309, allocations: 109.8 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3309, allocations: 29.7 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.3309, allocations: 84.14 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.331, allocations: 15.83 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.331, allocations: 17.66 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3311, allocations: 310.8 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.3311, allocations: 15.98 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.3312, allocations: 27.44 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.3312, allocations: 51.55 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3312, allocations: 0 / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000101/0.3313, allocations: 73.52 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3314, allocations: 7.938 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3314, allocations: 160 / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3314, allocations: 8.094 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.3315, allocations: 11.94 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3315, allocations: 7.984 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.3315, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3315, allocations: 7.984 kB / 1.063 GB, free: 1.176 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 6.685e-05/0.3316, allocations: 105.8 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.3316, allocations: 11.94 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.3316, allocations: 3.906 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3317, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3317, allocations: 4 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3317, allocations: 0 / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.3318, allocations: 157.7 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3318, allocations: 3.984 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.3318, allocations: 3.938 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3318, allocations: 3.938 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3318, allocations: 4 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3318, allocations: 0 / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3318, allocations: 0 / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.332, allocations: 92.95 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.332, allocations: 81.36 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.332, allocations: 3.938 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.3321, allocations: 4 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3321, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3321, allocations: 7.984 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.3321, allocations: 83.28 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3321, allocations: 0 / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002492/0.3324, allocations: 39.92 kB / 1.063 GB, free: 488 kB / 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.0003072/0.3327, allocations: 165.5 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.3328, allocations: 31.92 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3328, allocations: 0 / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.3329, allocations: 12 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.333, allocations: 192 / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.3333, allocations: 156.2 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3335, allocations: 0.6809 MB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.3335, allocations: 15.38 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3335, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.00285/0.3364, allocations: 1.244 MB / 1.066 GB, free: 14.12 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/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