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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001485/0.001485, 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.001531/0.001531, allocations: 192.2 kB / 16.25 MB, free: 6.641 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.582/2.582, allocations: 482.4 MB / 0.7544 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 73.75 kB / 0.9235 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2494, allocations: 162.2 MB / 1.082 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001739/0.2511, allocations: 0.7925 MB / 1.083 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2524, allocations: 1.155 MB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.2525, allocations: 3.938 kB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2526, allocations: 19.86 kB / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.269e-05/0.2526, allocations: 3.938 kB / 1.084 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.253, allocations: 122.5 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.2532, allocations: 135.7 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.2533, allocations: 31.97 kB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.2533, allocations: 43.86 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.2534, allocations: 39.77 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2535, allocations: 12 kB / 1.084 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.2535, allocations: 27.97 kB / 1.084 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.2535, allocations: 8 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.2536, allocations: 39.8 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2538, allocations: 112 kB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2538, allocations: 0 / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2538, allocations: 0 / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.2538, allocations: 0 / 1.084 GB, free: 10.95 MB / 0.8419 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.0004629/0.2543, allocations: 412.9 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2543, allocations: 8.031 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2543, allocations: 34.73 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.2544, allocations: 12.84 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.2546, allocations: 208.1 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2546, allocations: 4.375 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2547, allocations: 8.375 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.2548, allocations: 72.83 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2548, allocations: 11.88 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2548, allocations: 3.984 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2548, allocations: 0 / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.2549, allocations: 19.94 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.2554, allocations: 496.9 kB / 1.086 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.2555, allocations: 22.52 kB / 1.086 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2555, allocations: 12.91 kB / 1.086 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-06/0.2555, allocations: 0 / 1.086 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.426e-05/0.2556, allocations: 59.31 kB / 1.086 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 3.437e-06/0.2556, allocations: 0 / 1.086 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000161/0.2558, allocations: 73.52 kB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2558, allocations: 55.41 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0001407/0.256, allocations: 147.1 kB / 1.086 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.256, allocations: 33.69 kB / 1.086 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.2561, allocations: 96.14 kB / 1.086 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.2561, allocations: 3.906 kB / 1.086 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.2562, allocations: 29.7 kB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2563, allocations: 322.8 kB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.2564, allocations: 27.98 kB / 1.086 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.2565, allocations: 50.56 kB / 1.086 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.2566, allocations: 80.2 kB / 1.087 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2566, allocations: 0 / 1.087 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002386/0.2569, allocations: 151.4 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.2569, allocations: 33.7 kB / 1.087 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2569, allocations: 4.094 kB / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2569, allocations: 0 / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.465e-05/0.2569, allocations: 4 kB / 1.087 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2569, allocations: 3.938 kB / 1.087 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.2571, allocations: 39.88 kB / 1.087 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2572, allocations: 4 kB / 1.087 GB, free: 8.156 MB / 0.8419 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 9.718e-05/0.2573, allocations: 117.8 kB / 1.087 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2573, allocations: 11.91 kB / 1.087 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.2573, allocations: 8.234 kB / 1.087 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2573, allocations: 0 / 1.087 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2573, allocations: 7.938 kB / 1.087 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2573, allocations: 0 / 1.087 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.2575, allocations: 173.6 kB / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2575, allocations: 0 / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.2575, allocations: 4 kB / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2575, allocations: 3.984 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.2576, allocations: 7.875 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2576, allocations: 0 / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2576, allocations: 7.938 kB / 1.087 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2577, allocations: 84.97 kB / 1.087 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.2577, allocations: 85.02 kB / 1.087 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2578, allocations: 4.062 kB / 1.087 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.2578, allocations: 3.984 kB / 1.087 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.2578, allocations: 3.938 kB / 1.087 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.2578, allocations: 4 kB / 1.087 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.027e-05/0.2579, allocations: 116.8 kB / 1.087 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2579, allocations: 0 / 1.087 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001993/0.2581, allocations: 16 kB / 1.087 GB, free: 7.41 MB / 0.8419 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.0004152/0.2585, allocations: 0.6202 MB / 1.088 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.2587, allocations: 123.4 kB / 1.088 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2588, allocations: 8.062 kB / 1.088 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.2588, allocations: 8 kB / 1.088 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.259, allocations: 17.11 kB / 1.088 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.2605, allocations: 1.5 MB / 1.09 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2608, allocations: 0.6885 MB / 1.09 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.2609, allocations: 11.77 kB / 1.09 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.2609, allocations: 23.44 kB / 1.09 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2609, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8294/1.09, allocations: 2.301 MB / 1.093 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/1.091, allocations: 236.5 kB / 1.093 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.736, allocations: 3.938 kB / 1.093 GB, free: 1.863 MB / 0.8419 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=400 --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