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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9176/0.9176, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.684/1.684, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.3e-05, allocations: 9.375 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001518/0.001541, allocations: 0.727 MB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002642, allocations: 1.175 MB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.0027, allocations: 3.938 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.00281, allocations: 23.86 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.446e-05/0.002835, allocations: 7.875 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.003173, allocations: 137.6 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.003312, allocations: 127.7 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003414, allocations: 15.98 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.003489, allocations: 63.88 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.003565, allocations: 35.89 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.003584, allocations: 8 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.844e-05/0.003632, allocations: 20 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.003654, allocations: 15.91 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.003695, allocations: 27.98 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.004004, allocations: 135.5 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004006, allocations: 0 / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004006, allocations: 0 / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.00401, allocations: 3.938 kB / 0.9529 GB, free: 0.957 MB / 0.9011 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.0003577/0.004368, allocations: 335.7 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.004406, allocations: 8.031 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.004432, allocations: 38.73 kB / 0.9533 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.004466, allocations: 8.891 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.00463, allocations: 149.6 kB / 0.9535 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.004641, allocations: 4.375 kB / 0.9535 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.004657, allocations: 12.36 kB / 0.9535 GB, free: 348 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.004749, allocations: 72.77 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.004758, allocations: 4.172 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004767, allocations: 384 / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.004773, allocations: 8.125 kB / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.97e-05/0.004802, allocations: 15.98 kB / 0.9536 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.005134, allocations: 452.1 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/0.005173, allocations: 18.58 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.005186, allocations: 12.78 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-06/0.005191, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/0.005274, allocations: 63.41 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.005275, allocations: 0 / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.000154/0.005429, allocations: 69.62 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.00546, allocations: 51.41 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.005548, allocations: 152 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.005563, allocations: 25.7 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.005609, allocations: 104.1 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/0.005618, allocations: 7.953 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.00566, allocations: 29.7 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.005742, allocations: 322.8 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.005805, allocations: 61.69 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.005864, allocations: 80.25 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.005933, allocations: 80.2 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.005937, allocations: 4 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001688/0.006106, allocations: 181 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.006133, allocations: 37.69 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006138, allocations: 0 / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.00615, allocations: 7.938 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.36e-05/0.006163, allocations: 0 / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006168, allocations: 0 / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.006298, allocations: 31.92 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.006313, allocations: 11.94 kB / 0.9553 GB, free: 14.27 MB / 0.9167 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 6.044e-05/0.006373, allocations: 119.8 kB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.00638, allocations: 11.98 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.006401, allocations: 8.344 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.006402, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006406, allocations: 3.938 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006408, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.102e-05/0.006489, allocations: 144.7 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.00649, allocations: 0 / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-06/0.006493, allocations: 240 / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006494, allocations: 0 / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.006502, allocations: 11.98 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006503, allocations: 3.938 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006504, allocations: 4 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.035e-05/0.006574, allocations: 85 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.006585, allocations: 11.95 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.006595, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.006603, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.006625, allocations: 3.984 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006629, allocations: 4 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.006677, allocations: 109.8 kB / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006677, allocations: 0 / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001449/0.006822, allocations: 27.92 kB / 0.9558 GB, free: 13.66 MB / 0.9167 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.000523/0.007345, allocations: 0.628 MB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.007496, allocations: 129.1 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.007499, allocations: 4 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.007518, allocations: 11.94 kB / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.007676, allocations: 15.98 kB / 0.9566 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.008912, allocations: 1.632 MB / 0.9582 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.369e-05/0.008965, allocations: 79.52 kB / 0.9583 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.008987, allocations: 7.938 kB / 0.9583 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.009026, allocations: 28.48 kB / 0.9583 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/0.009027, allocations: 0 / 0.9583 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.02374, allocations: 3.157 MB / 0.9614 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.394, allocations: 11.14 kB / 0.9614 GB, free: 7.945 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv: Error: Error opening file: Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,phNo.y,phPar.y,phInp.y Variables in the result: [Calling sys.exit(0), Time elapsed: 11.487093013711274]