Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",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.001565/0.001565, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001761/0.001761, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 65.45 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001982/0.2465, allocations: 0.8089 MB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2478, allocations: 1.155 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.2478, allocations: 7.938 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.248, allocations: 15.86 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.643e-05/0.248, allocations: 7.938 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2485, allocations: 119 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2486, allocations: 139.7 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2487, allocations: 24 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.2488, allocations: 39.91 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.2489, allocations: 35.84 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2489, allocations: 19.92 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.249, allocations: 31.92 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.249, allocations: 11.98 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.2491, allocations: 39.8 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2492, allocations: 108 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2492, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2492, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2492, allocations: 0 / 1.055 GB, free: 6.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004145/0.2497, allocations: 405 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2497, allocations: 12.62 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.2497, allocations: 34.75 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.2498, allocations: 12.83 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.25, allocations: 208.1 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.25, allocations: 4.359 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.25, allocations: 8.375 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2501, allocations: 72.77 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2501, allocations: 3.938 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2502, allocations: 4 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2502, allocations: 4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.2502, allocations: 23.86 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.2506, allocations: 493 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.2507, allocations: 22.52 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.2507, allocations: 12.8 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.2507, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.2508, allocations: 59.45 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2508, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001634/0.251, allocations: 69.53 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.251, allocations: 55.39 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2512, allocations: 151.6 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.2512, allocations: 29.7 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2513, allocations: 104 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.2513, allocations: 4 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.2513, allocations: 29.7 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.2514, allocations: 318.8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.2515, allocations: 27.98 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.2516, allocations: 46.56 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.2517, allocations: 88.19 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2517, allocations: 0 / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002221/0.2519, allocations: 147.4 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.2519, allocations: 37.69 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.252, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.252, allocations: 4 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-05/0.252, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.252, allocations: 8.031 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2522, allocations: 35.86 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2522, allocations: 11.98 kB / 1.057 GB, free: 3.258 MB / 0.8106 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 7.625e-05/0.2523, allocations: 113.8 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2523, allocations: 11.84 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.2524, allocations: 8.25 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2524, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2524, allocations: 7.938 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2524, allocations: 3.984 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.2525, allocations: 173.7 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2525, allocations: 4.062 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.2525, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2525, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.2525, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2525, allocations: 7.938 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2525, allocations: 7.922 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.947e-05/0.2526, allocations: 84.97 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.2527, allocations: 85.02 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2527, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.2527, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.2528, allocations: 11.92 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2528, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.2528, allocations: 117.1 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2528, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001997/0.253, allocations: 16 kB / 1.058 GB, free: 2.52 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: 3 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0003168/0.2534, allocations: 0.6228 MB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.2536, allocations: 131.2 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2536, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.2536, allocations: 15.98 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.2538, allocations: 8.188 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2551, allocations: 1.505 MB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.2553, allocations: 0.6885 MB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.2553, allocations: 7.984 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.2553, allocations: 23.44 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.2553, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.503/5.758, allocations: 2.304 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/5.759, allocations: 240.3 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/8.486, allocations: 1.25 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches