Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001416/0.001416, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001542/0.001542, allocations: 222.8 kB / 22.99 MB, free: 4.914 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 76.3 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3429, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002074/0.345, allocations: 0.7262 MB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3466, allocations: 1.167 MB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.3467, allocations: 7.938 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3468, allocations: 23.8 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.3468, allocations: 7.922 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.3473, allocations: 131.6 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3475, allocations: 131.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3476, allocations: 23.92 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.3477, allocations: 43.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.195e-05/0.3478, allocations: 35.83 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.3478, allocations: 11.94 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.3478, allocations: 27.98 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.3479, allocations: 11.98 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.3479, allocations: 35.8 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.3481, allocations: 115.5 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3481, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3481, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3481, allocations: 3.938 kB / 1.329 GB, free: 15.37 MB / 1.029 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.0004719/0.3486, allocations: 331.8 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3486, allocations: 8.031 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.3487, allocations: 12.89 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3489, allocations: 152.6 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3489, allocations: 4.375 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.349, allocations: 12.38 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3491, allocations: 72.75 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3491, allocations: 192 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3491, allocations: 11.92 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3491, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.3492, allocations: 15.94 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3497, allocations: 416.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.3497, allocations: 30.52 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.3497, allocations: 8.922 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3497, allocations: 3.984 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.3498, allocations: 59.41 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3499, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001844/0.35, allocations: 73.56 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3501, allocations: 55.41 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3502, allocations: 130.1 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3502, allocations: 29.7 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.3503, allocations: 100.1 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.3503, allocations: 11.94 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3504, allocations: 33.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3506, allocations: 318.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.3507, allocations: 61.67 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3508, allocations: 76.27 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3509, allocations: 88.42 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3509, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002958/0.3512, allocations: 181 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.3512, allocations: 45.64 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3512, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3513, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.35e-05/0.3513, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.3513, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3515, allocations: 27.95 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3515, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 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 0.0001047/0.3516, allocations: 118.3 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.3516, allocations: 11.95 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.3516, allocations: 16.33 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3516, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3517, allocations: 7.875 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3517, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3518, allocations: 121.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3518, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-06/0.3518, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3518, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3518, allocations: 3.984 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3518, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3518, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3519, allocations: 85.02 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.3519, allocations: 3.953 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3519, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.575e-05/0.3519, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.352, allocations: 3.984 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.352, allocations: 4.062 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.3521, allocations: 105 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3521, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002154/0.3523, allocations: 23.88 kB / 1.331 GB, free: 12.21 MB / 1.029 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.0001358/0.3524, allocations: 103.2 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3526, allocations: 137.1 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3526, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.3527, allocations: 11.94 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.3529, allocations: 15.92 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.3532, allocations: 184.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.711e-05/0.3533, allocations: 79.45 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.3533, allocations: 11.44 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3533, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Templates: time 0.002797/0.3561, allocations: 1.116 MB / 1.333 GB, free: 10.49 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.250283975154161]