Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.005156/0.005156, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001182/0.001182, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 67.91 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3106, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002894/0.3135, allocations: 0.9266 MB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3151, allocations: 1.175 MB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3153, allocations: 7.938 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.3154, allocations: 23.8 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.3155, allocations: 23.78 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.316, allocations: 137.7 kB / 1.21 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.3163, allocations: 179.6 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3165, allocations: 45.33 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3166, allocations: 59.78 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3167, allocations: 47.81 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.3168, allocations: 20 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3169, allocations: 27.98 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.3169, allocations: 23.86 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.317, allocations: 55.72 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3173, allocations: 175.7 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3173, allocations: 0 / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3173, allocations: 0 / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.3173, allocations: 0 / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005807/0.3179, allocations: 440.7 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3179, allocations: 8.625 kB / 1.211 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.318, allocations: 38.75 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.318, allocations: 16.83 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.3184, allocations: 220 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3184, allocations: 8.375 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.3184, allocations: 8.375 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3186, allocations: 88.81 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3186, allocations: 3.938 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3186, allocations: 4 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3186, allocations: 0 / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.3187, allocations: 31.92 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.3193, allocations: 0.532 MB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.3194, allocations: 30.56 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.3194, allocations: 12.92 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.3194, allocations: 4 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.3196, allocations: 63.33 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.3196, allocations: 0 / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002105/0.3198, allocations: 81.77 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3199, allocations: 59.41 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.32, allocations: 171.2 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.32, allocations: 25.7 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.3201, allocations: 108.1 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.3202, allocations: 3.906 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.3202, allocations: 29.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3203, allocations: 322.8 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.3204, allocations: 43.86 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.3205, allocations: 62.55 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3207, allocations: 92.33 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3207, allocations: 0 / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002939/0.321, allocations: 167.2 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.321, allocations: 39.27 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.321, allocations: 12.05 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.321, allocations: 0 / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.3211, allocations: 7.938 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3211, allocations: 7.922 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.3213, allocations: 27.91 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3214, allocations: 4 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.976e-05/0.3215, allocations: 121.8 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.3215, allocations: 7.906 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.3215, allocations: 20.92 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3215, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3215, allocations: 3.938 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3216, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.3217, allocations: 193.6 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3217, allocations: 0 / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.3217, allocations: 4 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3218, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3218, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3218, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3218, allocations: 11.94 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.3219, allocations: 100.9 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.322, allocations: 81.02 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.322, allocations: 4 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.322, allocations: 0 / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.3221, allocations: 11.92 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3221, allocations: 8 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3222, allocations: 124.9 kB / 1.213 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3222, allocations: 4 kB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002204/0.3224, allocations: 20 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003951/0.3228, allocations: 0.6358 MB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.323, allocations: 135.3 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3231, allocations: 4.125 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.3231, allocations: 19.92 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3233, allocations: 27.84 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3251, allocations: 1.687 MB / 1.216 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.3254, allocations: 0.7002 MB / 1.217 GB, free: 48 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.3254, allocations: 12.42 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.3255, allocations: 31.42 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3255, allocations: 0 / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.3442, allocations: 2.907 MB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.039, allocations: 0 / 1.219 GB, free: 13.26 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches