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: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008894, allocations: 91.14 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.005191/0.005191, allocations: 171.5 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.574/2.574, allocations: 462.6 MB / 0.7364 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 7.156 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 159.6 MB / 1.059 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001165/0.3223, allocations: 0.9509 MB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002544/0.3226, allocations: 55.83 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.3226, allocations: 0 / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.3227, allocations: 7.984 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.3228, allocations: 0 / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.323, allocations: 11.97 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.498e-05/0.323, allocations: 31.91 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.3231, allocations: 4 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.3231, allocations: 4 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.3232, allocations: 25.42 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3232, allocations: 0 / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.3233, allocations: 7.984 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.3234, allocations: 44.45 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.3234, allocations: 69.38 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3235, allocations: 67.94 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3235, allocations: 4 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3235, allocations: 3.938 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.3235, allocations: 0 / 1.06 GB, free: 3.516 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.0003603/0.3239, allocations: 407 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.324, allocations: 15.97 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.324, allocations: 110 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.3241, allocations: 88.03 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3242, allocations: 266.6 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.3243, allocations: 154.5 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.3244, allocations: 158.6 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.708e-05/0.3244, allocations: 105 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.3244, allocations: 75.28 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.3245, allocations: 150.6 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.3245, allocations: 154.5 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.3246, allocations: 154.6 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.3249, allocations: 0.4938 MB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.325, allocations: 169.1 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.325, allocations: 80.14 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.325, allocations: 79.22 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.3251, allocations: 113.8 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3251, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.155e-05/0.3251, allocations: 37.52 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3252, allocations: 126.7 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3254, allocations: 227 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3254, allocations: 25.7 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.3255, allocations: 112 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3255, allocations: 4 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.3255, allocations: 29.7 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3256, allocations: 330.8 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.3257, allocations: 55.95 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.3258, allocations: 59.89 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.326, allocations: 135.4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.326, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002688/0.3262, allocations: 173.5 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3263, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3263, allocations: 4.062 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.3263, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.3263, allocations: 7.984 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3263, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.3263, allocations: 19.62 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3264, allocations: 8 kB / 1.064 GB, free: 15.21 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.0001048/0.3265, allocations: 201.1 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.3265, allocations: 116.7 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.3266, allocations: 113.5 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/0.3266, allocations: 188.1 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-05/0.3267, allocations: 180.2 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-05/0.3268, allocations: 184.2 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.327, allocations: 441.1 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/0.327, allocations: 113 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.3271, allocations: 104.9 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.956e-05/0.3271, allocations: 176.3 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.3272, allocations: 180.3 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.584e-05/0.3272, allocations: 188.2 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-05/0.3273, allocations: 176.3 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3274, allocations: 323.8 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.3275, allocations: 189.9 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.3275, allocations: 188.2 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.3276, allocations: 105 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.3277, allocations: 184.2 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.3277, allocations: 104.9 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3278, allocations: 164.6 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3279, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002282/0.3281, allocations: 19.98 kB / 1.067 GB, free: 11.43 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.0003621/0.3285, allocations: 0.8203 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.3286, allocations: 75.97 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3286, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3286, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.329, allocations: 0.5263 MB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3308, allocations: 2.137 MB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.331, allocations: 0.7082 MB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.3311, allocations: 11.98 kB / 1.072 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.3311, allocations: 31.42 kB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3311, allocations: 0 / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.3425, allocations: 2.53 MB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.3427, allocations: 225.1 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.064, allocations: 4 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > 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