Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.0008355/0.0008355, 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.0007717/0.0007717, allocations: 169.9 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.8379/0.8379, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.963e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.00161/0.00163, allocations: 0.8958 MB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002702, allocations: 1.205 MB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.002772, allocations: 4 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.002899, allocations: 23.78 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.002942, allocations: 19.8 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.003334, allocations: 142.8 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.00353, allocations: 175.5 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.003648, allocations: 25.52 kB / 0.9834 GB, free: 108 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.003744, allocations: 91.8 kB / 0.9835 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.003843, allocations: 39.89 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.003867, allocations: 16 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.003926, allocations: 23.98 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.00395, allocations: 19.92 kB / 0.9836 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.004002, allocations: 47.84 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.004196, allocations: 183.5 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004198, allocations: 0 / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.0042, allocations: 4 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.004205, allocations: 0 / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004626/0.004668, allocations: 355.6 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.004704, allocations: 8.031 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.004731, allocations: 42.73 kB / 0.9842 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.004768, allocations: 16.89 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.004957, allocations: 160 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.00497, allocations: 8.375 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.004984, allocations: 8.375 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.005094, allocations: 92.69 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.005101, allocations: 192 / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.005109, allocations: 384 / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005116, allocations: 8.125 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.005163, allocations: 31.92 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.005551, allocations: 488.1 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.151e-05/0.005603, allocations: 26.58 kB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.005623, allocations: 8.859 kB / 0.985 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.00563, allocations: 8 kB / 0.985 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.005715, allocations: 63.33 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.005716, allocations: 0 / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001641/0.00588, allocations: 85.58 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.005911, allocations: 55.41 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.00602, allocations: 169.6 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.006041, allocations: 29.7 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.006111, allocations: 108 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.006124, allocations: 11.95 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.006168, allocations: 33.69 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.006241, allocations: 318.8 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.006313, allocations: 73.67 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.00638, allocations: 88.2 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.237e-05/0.006463, allocations: 88.27 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006465, allocations: 4 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001944/0.006659, allocations: 204.9 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.006688, allocations: 37.7 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.006693, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.006705, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.006754, allocations: 11.92 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.006759, allocations: 0 / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.006882, allocations: 27.92 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.006899, allocations: 12.06 kB / 0.9863 GB, free: 12.79 MB / 0.948 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.489e-05/0.006974, allocations: 117.8 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.006984, allocations: 11.95 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.007007, allocations: 13.25 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.007011, allocations: 7.984 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.007015, allocations: 0 / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007019, allocations: 3.938 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.00712, allocations: 168.6 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007121, allocations: 0 / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.007131, allocations: 4 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007133, allocations: 4 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.007141, allocations: 4 kB / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007142, allocations: 0 / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007143, allocations: 0 / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.007231, allocations: 100.9 kB / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.007246, allocations: 11.94 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007258, allocations: 4 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.007271, allocations: 3.938 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.007292, allocations: 0 / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.007299, allocations: 7.984 kB / 0.9868 GB, free: 12.26 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.007368, allocations: 126.3 kB / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007368, allocations: 4 kB / 0.9869 GB, free: 12.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002487/0.007617, allocations: 20 kB / 0.9869 GB, free: 12.11 MB / 0.948 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.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0004411/0.008058, allocations: 0.6362 MB / 0.9876 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.008283, allocations: 153.1 kB / 0.9877 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.008285, allocations: 0 / 0.9877 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.008321, allocations: 19.92 kB / 0.9877 GB, free: 11.26 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.008542, allocations: 20.11 kB / 0.9877 GB, free: 11.24 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.009954, allocations: 1.817 MB / 0.9895 GB, free: 9.297 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.648e-05/0.01001, allocations: 88.44 kB / 0.9896 GB, free: 9.188 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.01004, allocations: 8.484 kB / 0.9896 GB, free: 9.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.01008, allocations: 24.5 kB / 0.9896 GB, free: 9.156 MB / 0.948 GB Notification: Performance of SimCode: time 1.693e-06/0.01009, allocations: 7.938 kB / 0.9896 GB, free: 9.148 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.02505, allocations: 3.661 MB / 0.9932 GB, free: 5.66 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/6.561, allocations: 0 / 0.9932 GB, free: 5.66 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phNo.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.545652634464204]