Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001606/0.001606, allocations: 108 kB / 15.6 MB, free: 132 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.001716/0.001716, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 66.27 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2625, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001667/0.2642, allocations: 0.5783 MB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.413e-05/0.2642, allocations: 4 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.2642, allocations: 3.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.2643, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.844e-05/0.2643, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.07e-05/0.2643, allocations: 8 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.842e-05/0.2644, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.2644, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.137e-05/0.2644, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.539e-05/0.2645, allocations: 7.984 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2645, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-06/0.2645, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.2645, allocations: 7.984 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.2645, allocations: 3.938 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.184e-05/0.2646, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2646, allocations: 4 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2646, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.2646, allocations: 4 kB / 1.065 GB, free: 13.54 MB / 0.8262 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.000281/0.2649, allocations: 307.5 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2649, allocations: 12.06 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.265, allocations: 30.75 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.522e-05/0.265, allocations: 0.9375 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2651, allocations: 168.3 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.2651, allocations: 384 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-06/0.2651, allocations: 384 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.349e-05/0.2652, allocations: 30.27 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2652, allocations: 3.938 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2652, allocations: 4 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2652, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.364e-05/0.2652, allocations: 3.984 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.2655, allocations: 383.5 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.348e-05/0.2656, allocations: 177 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.2657, allocations: 84.17 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.2657, allocations: 79.22 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.2658, allocations: 117.8 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2658, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.004e-05/0.2658, allocations: 29.64 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.2659, allocations: 130.7 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.266, allocations: 93.86 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.266, allocations: 25.7 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2661, allocations: 84.14 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.2661, allocations: 128 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.2661, allocations: 17.66 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2662, allocations: 314.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-06/0.2662, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-06/0.2662, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.2663, allocations: 75.28 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.514e-05/0.2663, allocations: 83.22 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.018e-05/0.2664, allocations: 29.7 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.2664, allocations: 83.28 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.2664, allocations: 83.22 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-05/0.2665, allocations: 152.4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.245e-05/0.2666, allocations: 79.22 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.648e-05/0.2666, allocations: 150.6 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.2667, allocations: 83.27 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2667, allocations: 79.22 kB / 1.068 GB, free: 10.36 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 (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.00012/0.2669, allocations: 268.3 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.2669, allocations: 108.9 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.267, allocations: 108 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.701e-05/0.267, allocations: 180.2 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.166e-05/0.2671, allocations: 180.2 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-05/0.2672, allocations: 188.3 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.2674, allocations: 405.2 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-05/0.2675, allocations: 104.9 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.2675, allocations: 101 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-05/0.2676, allocations: 184.2 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.2677, allocations: 184.3 kB / 1.069 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.095e-05/0.2678, allocations: 180.6 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.057e-05/0.2678, allocations: 184.2 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.268, allocations: 311.7 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.2681, allocations: 182.1 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.2682, allocations: 184.2 kB / 1.07 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.2682, allocations: 104.9 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.2683, allocations: 176.3 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.2684, allocations: 108.9 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.2684, allocations: 83.22 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2684, allocations: 96 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002411/0.2687, allocations: 4 kB / 1.071 GB, free: 6.684 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.0004203/0.2691, allocations: 0.8126 MB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.521e-05/0.2691, allocations: 3.938 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2691, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.2691, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.2695, allocations: 461.4 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2705, allocations: 1.522 MB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2708, allocations: 0.6768 MB / 1.074 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.44e-06/0.2708, allocations: 4.125 kB / 1.074 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.2709, allocations: 7.438 kB / 1.074 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of SimCode: time 1.8e-07/0.2709, allocations: 0 / 1.074 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.195/2.466, allocations: 0.8997 MB / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/14.73, allocations: 8.406 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches