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.001564/0.001564, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001944/0.001944, allocations: 217.4 kB / 23.05 MB, free: 4.844 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.069/3.069, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.002001/0.002001, allocations: 67.53 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 176.1 MB / 1.327 GB, free: 0.9961 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.002043/0.3293, allocations: 0.7476 MB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3309, allocations: 1.167 MB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.3309, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.3311, allocations: 19.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.3311, allocations: 15.88 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.3315, allocations: 123.7 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3317, allocations: 123.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3318, allocations: 35.84 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.3319, allocations: 43.91 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.332, allocations: 39.83 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.332, allocations: 12 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.3321, allocations: 19.92 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.3321, allocations: 15.92 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.3322, allocations: 35.86 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.3324, allocations: 115.6 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3324, allocations: 3.938 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3324, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.3324, allocations: 0 / 1.33 GB, free: 14.48 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.0004946/0.3329, allocations: 333.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.333, allocations: 8.031 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.333, allocations: 16.89 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3333, allocations: 146.3 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3333, allocations: 12.36 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3333, allocations: 4.375 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3334, allocations: 68.83 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3335, allocations: 192 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3335, allocations: 3.938 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3335, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.3335, allocations: 23.92 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.334, allocations: 428.7 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.334, allocations: 18.58 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.3341, allocations: 4.859 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-06/0.3341, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.3342, allocations: 67.38 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3342, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001877/0.3344, allocations: 65.64 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3344, allocations: 51.41 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3345, allocations: 140.6 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3346, allocations: 33.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.3346, allocations: 100.1 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3347, allocations: 11.95 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.3347, allocations: 33.69 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3349, allocations: 318.8 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.335, allocations: 61.69 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3351, allocations: 80.19 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3352, allocations: 80.27 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3352, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002788/0.3355, allocations: 181 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.3355, allocations: 37.69 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3355, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3355, allocations: 8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.878e-05/0.3356, allocations: 7.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3356, allocations: 3.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.3358, allocations: 23.97 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3358, allocations: 11.98 kB / 1.332 GB, free: 11.89 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.0001019/0.3359, allocations: 126.4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.3359, allocations: 7.953 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.3359, allocations: 4.344 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3359, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3359, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3359, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.3361, allocations: 121.2 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3361, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.116e-06/0.3361, allocations: 4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3361, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.3361, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3361, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3361, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.3362, allocations: 92.94 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.3362, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3362, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.3362, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3363, allocations: 11.98 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3363, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.3363, allocations: 95.27 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3363, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000219/0.3366, allocations: 23.89 kB / 1.332 GB, free: 11.33 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.0001334/0.3367, allocations: 107.2 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3369, allocations: 141.3 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3369, allocations: 0 / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.337, allocations: 8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.3372, allocations: 15.92 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.3375, allocations: 184.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.3376, allocations: 79.52 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.3376, allocations: 7.438 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3376, allocations: 3.938 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of Templates: time 0.002804/0.3404, allocations: 1.126 MB / 1.334 GB, free: 9.598 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: 10.649090914055705]