Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008824, allocations: 97.78 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.001123/0.001123, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.969/2.969, allocations: 462.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 9.312 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4246, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001416/0.4261, allocations: 0.9393 MB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.4264, allocations: 59.75 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.4264, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.4265, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.4267, allocations: 11.98 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.4268, allocations: 11.98 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.4269, allocations: 31.91 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.4269, allocations: 0 / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.427, allocations: 4 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.427, allocations: 29.41 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.4271, allocations: 0 / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.4271, allocations: 8 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.4272, allocations: 48.44 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.4273, allocations: 61.39 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.4274, allocations: 52.06 kB / 1.061 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4274, allocations: 0 / 1.061 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4274, allocations: 0 / 1.061 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.4274, allocations: 0 / 1.061 GB, free: 3.746 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004329/0.4279, allocations: 414.9 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.4279, allocations: 11.97 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.428, allocations: 91.97 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.4282, allocations: 270.8 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.4283, allocations: 154.6 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.4283, allocations: 154.6 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.203e-05/0.4284, allocations: 105 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.4284, allocations: 75.28 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.4285, allocations: 150.6 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.4286, allocations: 150.6 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.4286, allocations: 158.5 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.429, allocations: 0.4938 MB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.4291, allocations: 165.1 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.4291, allocations: 84.14 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.4291, allocations: 75.28 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.4292, allocations: 113.8 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4292, allocations: 0 / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.905e-05/0.4293, allocations: 41.45 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4293, allocations: 126.7 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.4296, allocations: 227 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4296, allocations: 25.7 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.4297, allocations: 116 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.4297, allocations: 0 / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.4297, allocations: 33.7 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4299, allocations: 330.8 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.43, allocations: 55.95 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.43, allocations: 55.95 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.4302, allocations: 139.3 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4302, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002994/0.4305, allocations: 169.5 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4306, allocations: 4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4306, allocations: 4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4306, allocations: 4.062 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4306, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4306, allocations: 3.984 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.4307, allocations: 19.69 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4307, allocations: 7.938 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 0.0001346/0.4308, allocations: 201.1 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.4309, allocations: 124.7 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.431, allocations: 113.5 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/0.431, allocations: 180.3 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.687e-05/0.4311, allocations: 188.2 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.217e-05/0.4312, allocations: 176.3 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.4314, allocations: 441.1 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.4315, allocations: 109 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.4315, allocations: 109 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.996e-05/0.4316, allocations: 180.2 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/0.4316, allocations: 180.3 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.534e-05/0.4317, allocations: 184.2 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.813e-05/0.4318, allocations: 176.3 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.4319, allocations: 323.8 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.432, allocations: 193.9 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.4321, allocations: 180.2 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.4322, allocations: 105 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.4323, allocations: 180.3 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.4323, allocations: 112.9 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001305/0.4324, allocations: 164.5 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4325, allocations: 3.938 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002489/0.4327, allocations: 19.98 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001703/0.4329, allocations: 174.5 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.433, allocations: 79.95 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.433, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.4331, allocations: 8 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.4335, allocations: 0.5185 MB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.4339, allocations: 345.6 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4342, allocations: 0.7141 MB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.4342, allocations: 7.438 kB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.4342, allocations: 8 kB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of Templates: time 0.002741/0.437, allocations: 1.095 MB / 1.071 GB, free: 8.754 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches