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.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.0008207/0.0008207, 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.0007594/0.0007594, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8611/0.8611, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.756/1.756, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.238e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001406/0.001429, allocations: 0.7386 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002448, allocations: 1.163 MB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.002506, allocations: 7.938 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.002625, allocations: 19.8 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.002651, allocations: 15.86 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.00304, allocations: 138.5 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.003194, allocations: 135.6 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.003292, allocations: 27.97 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.003373, allocations: 59.89 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.003449, allocations: 27.94 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.003469, allocations: 12 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.003524, allocations: 23.98 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.003543, allocations: 3.938 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.003588, allocations: 39.84 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.003747, allocations: 127.7 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003749, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003751, allocations: 7.984 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003755, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 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.0003657/0.00412, allocations: 329.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.00416, allocations: 12.73 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.004187, allocations: 38.75 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.004222, allocations: 8.891 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.004397, allocations: 145.6 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004407, allocations: 8.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.00442, allocations: 4.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.552e-05/0.004516, allocations: 76.77 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004523, allocations: 192 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.004532, allocations: 384 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004537, allocations: 4.125 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.004569, allocations: 23.92 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.004903, allocations: 444.2 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.14e-05/0.004944, allocations: 26.48 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.004958, allocations: 12.92 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.004964, allocations: 0 / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.726e-05/0.005051, allocations: 59.39 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.005052, allocations: 4 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001488/0.005201, allocations: 69.52 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.005231, allocations: 55.41 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.005325, allocations: 145.8 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.005342, allocations: 33.7 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.005386, allocations: 96.09 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.856e-06/0.005395, allocations: 7.984 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.005437, allocations: 25.7 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.005515, allocations: 326.8 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.00558, allocations: 57.69 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.00564, allocations: 92.25 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.005709, allocations: 84.2 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005711, allocations: 0 / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000169/0.00588, allocations: 177 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.005908, allocations: 41.69 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005913, allocations: 0 / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.005924, allocations: 0 / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.005941, allocations: 4 kB / 1.004 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005945, allocations: 96 / 1.004 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.006077, allocations: 31.92 kB / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.006091, allocations: 11.92 kB / 1.004 GB, free: 8.301 MB / 0.9636 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.411e-05/0.006155, allocations: 117.8 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-06/0.006163, allocations: 7.953 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.006186, allocations: 8.344 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.006192, allocations: 4 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.006196, allocations: 3.938 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006199, allocations: 0 / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.29e-05/0.006282, allocations: 148.7 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006283, allocations: 0 / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-06/0.006287, allocations: 0 / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.006289, allocations: 3.984 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.006295, allocations: 0 / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006296, allocations: 3.984 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.006299, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.558e-05/0.006374, allocations: 85.02 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-06/0.006384, allocations: 4.234 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.006395, allocations: 7.938 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.006408, allocations: 3.984 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.00643, allocations: 7.984 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.006434, allocations: 4 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.006483, allocations: 117.8 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006483, allocations: 0 / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001427/0.006625, allocations: 19.94 kB / 1.005 GB, free: 7.684 MB / 0.9636 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.0004025/0.007028, allocations: 0.6202 MB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.00719, allocations: 141 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007192, allocations: 0 / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.007209, allocations: 8.188 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.00738, allocations: 19.92 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.008501, allocations: 1.63 MB / 1.007 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.008547, allocations: 71.33 kB / 1.007 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.008571, allocations: 4 kB / 1.007 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.008608, allocations: 28.48 kB / 1.007 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.008609, allocations: 4 kB / 1.007 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.02344, allocations: 3.162 MB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.412/6.436, allocations: 4 kB / 1.011 GB, free: 1.973 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv: Error: Error opening file: Buildings_latest_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: 10.49017762299627]