Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_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.001463/0.001463, allocations: 108 kB / 15.61 MB, free: 152 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.001408/0.001408, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.559/2.559, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001794, allocations: 68.02 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2361, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001862/0.238, allocations: 0.7427 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2393, allocations: 1.156 MB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.2394, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2395, allocations: 23.8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.2396, allocations: 11.86 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.24, allocations: 134.6 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.2402, allocations: 127.8 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2403, allocations: 27.98 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.2404, allocations: 47.84 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.2405, allocations: 35.84 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.2405, allocations: 8 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.2406, allocations: 23.92 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2406, allocations: 11.98 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.2407, allocations: 47.78 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.2408, allocations: 104 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2408, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2408, allocations: 4 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2408, allocations: 0 / 1.067 GB, free: 11.7 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004443/0.2413, allocations: 409 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2413, allocations: 12.03 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.2414, allocations: 38.73 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.2414, allocations: 12.84 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.2416, allocations: 204 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2417, allocations: 12.31 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.2417, allocations: 4.375 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2418, allocations: 68.83 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2418, allocations: 7.938 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.2418, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2418, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.2419, allocations: 23.92 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.2423, allocations: 0.4931 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.2424, allocations: 22.58 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.2424, allocations: 8.922 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.2424, allocations: 3.938 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.2425, allocations: 59.33 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.2426, allocations: 4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001656/0.2427, allocations: 69.58 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.2428, allocations: 51.41 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.0001337/0.2429, allocations: 153.7 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2429, allocations: 25.7 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.243, allocations: 100.1 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.243, allocations: 7.906 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.2431, allocations: 29.7 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2432, allocations: 318.8 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.2433, allocations: 31.98 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.2434, allocations: 46.5 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2435, allocations: 84.27 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2435, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002357/0.2437, allocations: 159.3 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.2438, allocations: 33.69 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2438, allocations: 4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2438, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.228e-05/0.2438, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2438, allocations: 15.86 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.244, allocations: 23.97 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.244, allocations: 7.984 kB / 1.069 GB, free: 8.898 MB / 0.8262 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 8.346e-05/0.2441, allocations: 117.9 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.2441, allocations: 7.906 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.2442, allocations: 12.25 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2442, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2442, allocations: 7.922 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2442, allocations: 0 / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2443, allocations: 169.7 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2443, allocations: 3.938 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-06/0.2443, allocations: 0 / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2443, allocations: 0 / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2444, allocations: 8 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.2444, allocations: 3.984 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2444, allocations: 7.875 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.803e-05/0.2445, allocations: 85.2 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2445, allocations: 85.06 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2445, allocations: 3.984 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.2446, allocations: 4 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.2446, allocations: 11.92 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2446, allocations: 0 / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.948e-05/0.2447, allocations: 109 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2447, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001991/0.2449, allocations: 23.98 kB / 1.07 GB, free: 8.152 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: 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.0003798/0.2453, allocations: 0.6168 MB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.2455, allocations: 131.2 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2455, allocations: 0 / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.2455, allocations: 11.98 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.2457, allocations: 8.562 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2471, allocations: 1.5 MB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2474, allocations: 0.6924 MB / 1.072 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.2474, allocations: 7.984 kB / 1.072 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.2475, allocations: 24.56 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2475, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3859/0.6334, allocations: 2.377 MB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.461, allocations: 7.922 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches