Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.0007785/0.0007785, 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.0008358/0.0008358, 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.9057/0.9057, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.63/1.63, allocations: 359 MB / 0.6037 GB, free: 11.11 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.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.077e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.001359/0.00138, allocations: 0.8347 MB / 0.9513 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002447, allocations: 1.198 MB / 0.9525 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.00251, allocations: 4 kB / 0.9525 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.002627, allocations: 27.8 kB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.002667, allocations: 19.84 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.003031, allocations: 144.2 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.0032, allocations: 167.6 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003308, allocations: 33.5 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.003394, allocations: 87.75 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.003478, allocations: 35.89 kB / 0.953 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.0035, allocations: 16 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.003556, allocations: 27.98 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.00358, allocations: 23.91 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.00363, allocations: 39.92 kB / 0.9531 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.003814, allocations: 183.5 kB / 0.9532 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.614e-06/0.003816, allocations: 0 / 0.9532 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.224e-06/0.003818, allocations: 4 kB / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003822, allocations: 0 / 0.9532 GB, free: 0.6836 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004401/0.004262, allocations: 363.5 kB / 0.9536 GB, free: 296 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.004301, allocations: 8.031 kB / 0.9536 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.00433, allocations: 38.75 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.004369, allocations: 16.83 kB / 0.9536 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.004583, allocations: 165.5 kB / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.004597, allocations: 4.375 kB / 0.9538 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.004613, allocations: 12.38 kB / 0.9538 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.004735, allocations: 80.81 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004744, allocations: 4.188 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.004752, allocations: 384 / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.004759, allocations: 8.125 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.00481, allocations: 27.92 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.005195, allocations: 488.1 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.33e-05/0.005249, allocations: 34.56 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.005266, allocations: 8.859 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.005276, allocations: 8.047 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.072e-05/0.005367, allocations: 67.33 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005368, allocations: 0 / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001636/0.005531, allocations: 81.59 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.005562, allocations: 55.39 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.005673, allocations: 167.3 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.005691, allocations: 33.7 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.005742, allocations: 112 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.005753, allocations: 11.89 kB / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.005799, allocations: 33.7 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.005885, allocations: 326.8 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.00596, allocations: 65.69 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.006033, allocations: 92.19 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/0.006117, allocations: 88.27 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006119, allocations: 0 / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002234/0.006342, allocations: 201 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.006381, allocations: 41.69 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.006388, allocations: 0 / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.006404, allocations: 0 / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.006459, allocations: 7.938 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.006464, allocations: 0 / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.006595, allocations: 31.92 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.006612, allocations: 11.98 kB / 0.9558 GB, free: 13.77 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.614e-05/0.006688, allocations: 121.8 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.006698, allocations: 11.98 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.006725, allocations: 13.03 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.006728, allocations: 7.922 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.006733, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006737, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.006843, allocations: 156.7 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.006846, allocations: 4.062 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/0.006857, allocations: 4 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.006859, allocations: 0 / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.006867, allocations: 3.984 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.006868, allocations: 0 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006869, allocations: 4 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.563e-05/0.006965, allocations: 104.9 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.006979, allocations: 7.953 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.006992, allocations: 3.984 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.007006, allocations: 0 / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.00703, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.007035, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.007101, allocations: 120 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.007101, allocations: 3.938 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001561/0.007258, allocations: 27.94 kB / 0.9564 GB, free: 13.1 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0002937/0.007551, allocations: 0.6435 MB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.007723, allocations: 153.4 kB / 0.9572 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007725, allocations: 0 / 0.9572 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.007747, allocations: 15.94 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.007922, allocations: 20.11 kB / 0.9572 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.00917, allocations: 1.785 MB / 0.9589 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.774e-05/0.009217, allocations: 84.31 kB / 0.959 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.009241, allocations: 8.5 kB / 0.959 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.009282, allocations: 28.48 kB / 0.9591 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.009282, allocations: 0 / 0.9591 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02468, allocations: 3.621 MB / 0.9626 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.187, allocations: 9.125 kB / 0.9626 GB, free: 6.746 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_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_PlaceholderInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phNo.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.166839944198728]