Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001749/0.001749, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 64.64 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001752/0.2419, allocations: 0.6508 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.74e-05/0.2419, allocations: 4 kB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.242, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.242, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.465e-05/0.242, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-05/0.2421, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.28e-05/0.2421, allocations: 4 kB / 1.053 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.2422, allocations: 8 kB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.2422, allocations: 0 / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.433e-05/0.2422, allocations: 3.938 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2422, allocations: 0 / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.626e-06/0.2422, allocations: 0 / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.2423, allocations: 3.984 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.2423, allocations: 3.938 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.348e-05/0.2423, allocations: 15.92 kB / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2423, allocations: 0 / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2423, allocations: 0 / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.2424, allocations: 0 / 1.053 GB, free: 7.492 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002429/0.2426, allocations: 315.6 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2426, allocations: 11.97 kB / 1.053 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.2427, allocations: 30.75 kB / 1.053 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.517e-05/0.2427, allocations: 0.9375 kB / 1.053 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/0.2428, allocations: 164.4 kB / 1.053 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.2428, allocations: 384 / 1.053 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.2428, allocations: 4.375 kB / 1.053 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.538e-05/0.2429, allocations: 26.27 kB / 1.053 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.2429, allocations: 3.938 kB / 1.053 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-06/0.2429, allocations: 4 kB / 1.053 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2429, allocations: 0 / 1.053 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.347e-05/0.2429, allocations: 7.938 kB / 1.053 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.2432, allocations: 379.5 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.011e-05/0.2432, allocations: 173.1 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.2433, allocations: 84.14 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2433, allocations: 79.27 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.2433, allocations: 109.8 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2434, allocations: 0 / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.682e-05/0.2434, allocations: 33.73 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.2435, allocations: 126.7 kB / 1.054 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.2436, allocations: 105.8 kB / 1.054 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.2436, allocations: 25.7 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.2436, allocations: 84.08 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-06/0.2436, allocations: 0 / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.2436, allocations: 9.719 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.2437, allocations: 310.8 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-06/0.2437, allocations: 0 / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-06/0.2437, allocations: 4 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.2438, allocations: 79.41 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/0.2438, allocations: 79.22 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.637e-05/0.2438, allocations: 29.64 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.2439, allocations: 87.27 kB / 1.055 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.2439, allocations: 79.28 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.652e-05/0.244, allocations: 162.4 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.955e-05/0.244, allocations: 75.28 kB / 1.055 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-05/0.244, allocations: 158.6 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.2441, allocations: 79.22 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.2441, allocations: 75.28 kB / 1.056 GB, free: 4.312 MB / 0.8106 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 (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 prepare postOptimizeDAE: time 9.001e-05/0.2442, allocations: 260.3 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.2443, allocations: 116.9 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.2443, allocations: 108.1 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-05/0.2444, allocations: 180.2 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.324e-05/0.2444, allocations: 180.3 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.517e-05/0.2445, allocations: 176.3 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2447, allocations: 409.1 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.549e-05/0.2447, allocations: 105 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.2448, allocations: 112.9 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-05/0.2448, allocations: 180.6 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.2449, allocations: 176.3 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.172e-05/0.245, allocations: 180.2 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.695e-05/0.245, allocations: 188.3 kB / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2451, allocations: 311.7 kB / 1.058 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.2452, allocations: 182 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.2452, allocations: 184.2 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.2453, allocations: 101 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.2454, allocations: 188.2 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.2454, allocations: 105 kB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.901e-05/0.2455, allocations: 75.28 kB / 1.059 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2455, allocations: 7.938 kB / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002276/0.2457, allocations: 0 / 1.059 GB, free: 0.6406 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: 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.000364/0.2461, allocations: 0.8127 MB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.538e-05/0.2461, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2461, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.2461, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2465, allocations: 0.5256 MB / 1.06 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.2473, allocations: 1.53 MB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2475, allocations: 0.6692 MB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.632e-06/0.2475, allocations: 0 / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.2476, allocations: 7.438 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2476, allocations: 0 / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009226/0.2568, allocations: 0.8015 MB / 1.063 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.257, allocations: 221.6 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/1.806, allocations: 0 / 1.064 GB, free: 12.02 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches