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.0008268/0.0008269, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001127/0.001127, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 13.28 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0007186/0.2994, allocations: 323.3 kB / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.928e-05/0.2994, allocations: 0 / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.2995, allocations: 0 / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.2995, allocations: 0 / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.2995, allocations: 4 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.714e-05/0.2996, allocations: 4 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.125e-05/0.2996, allocations: 7.938 kB / 1.059 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.2997, allocations: 0 / 1.059 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.29e-05/0.2997, allocations: 0 / 1.059 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.681e-05/0.2997, allocations: 4 kB / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2997, allocations: 0 / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-06/0.2997, allocations: 0 / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.2997, allocations: 0 / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.2998, allocations: 25.7 kB / 1.059 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.16e-05/0.2998, allocations: 11.92 kB / 1.059 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2998, allocations: 0 / 1.059 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2998, allocations: 4 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2999, allocations: 0 / 1.059 GB, free: 4.434 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.0002649/0.3001, allocations: 307.6 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3002, allocations: 11.97 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.3002, allocations: 30.75 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.3002, allocations: 8.938 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3004, allocations: 172.3 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3004, allocations: 384 / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3004, allocations: 384 / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/0.3005, allocations: 30.27 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3005, allocations: 7.875 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.3005, allocations: 4 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3005, allocations: 0 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.3005, allocations: 0 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.3008, allocations: 379.5 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.3009, allocations: 173.1 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.3009, allocations: 84.08 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3009, allocations: 79.22 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.301, allocations: 113.9 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.301, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.99e-05/0.3011, allocations: 33.72 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3011, allocations: 130.7 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.3012, allocations: 93.86 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.3012, allocations: 25.7 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.3012, allocations: 80.14 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-06/0.3012, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.3013, allocations: 9.719 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.3014, allocations: 314.8 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/0.3014, allocations: 12 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/0.3014, allocations: 4 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.3014, allocations: 75.28 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/0.3014, allocations: 79.22 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.794e-05/0.3015, allocations: 29.69 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.3015, allocations: 83.28 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.3016, allocations: 75.28 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-05/0.3016, allocations: 154.5 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.169e-05/0.3016, allocations: 79.28 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.384e-05/0.3017, allocations: 162.5 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.3018, allocations: 75.28 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3018, allocations: 75.28 kB / 1.062 GB, free: 1.258 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 0.0001135/0.3019, allocations: 268.3 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.302, allocations: 109 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.302, allocations: 104.1 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.549e-05/0.3021, allocations: 184.2 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-05/0.3022, allocations: 180.3 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.175e-05/0.3022, allocations: 184.2 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.3025, allocations: 401.2 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.3025, allocations: 101 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.3026, allocations: 120.9 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-05/0.3026, allocations: 176.3 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/0.3027, allocations: 180.5 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-05/0.3027, allocations: 176.3 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.426e-05/0.3028, allocations: 188.3 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3029, allocations: 311.7 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.303, allocations: 189.9 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.3031, allocations: 176.3 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.3032, allocations: 105 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.3032, allocations: 192.2 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.3033, allocations: 101 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.3033, allocations: 83.22 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3033, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002323/0.3036, allocations: 0 / 1.065 GB, free: 13.58 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.0004473/0.304, allocations: 0.8127 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.594e-05/0.3041, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3041, allocations: 3.938 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.3041, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3045, allocations: 0.5287 MB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.3055, allocations: 1.53 MB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3057, allocations: 0.6692 MB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.496e-06/0.3058, allocations: 0 / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.3058, allocations: 7.438 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3058, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01079/0.3166, allocations: 0.7361 MB / 1.07 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.317, allocations: 215.9 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.882, allocations: 0 / 1.07 GB, free: 9.047 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