Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001763/0.001763, allocations: 78.72 kB / 19.76 MB, free: 2.031 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.002168/0.002168, allocations: 158.1 kB / 23.01 MB, free: 4.941 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.733/2.733, allocations: 359.1 MB / 0.6044 GB, free: 14.79 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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_11_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_11_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.002117/0.002117, allocations: 67.89 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3405, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.002392/0.3429, allocations: 0.7412 MB / 1.118 GB, free: 1.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3447, allocations: 1.159 MB / 1.119 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.3448, allocations: 7.938 kB / 1.119 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3449, allocations: 19.8 kB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.345, allocations: 15.92 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.3455, allocations: 130.6 kB / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3457, allocations: 127.7 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3458, allocations: 19.98 kB / 1.12 GB, free: 272 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.3459, allocations: 47.89 kB / 1.12 GB, free: 224 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.346, allocations: 31.84 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.346, allocations: 15.94 kB / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.3461, allocations: 23.92 kB / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.3461, allocations: 11.97 kB / 1.12 GB, free: 140 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.3462, allocations: 35.86 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.3464, allocations: 115.6 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3464, allocations: 3.938 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3464, allocations: 4 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3464, allocations: 0 / 1.12 GB, free: 15.98 MB / 1.076 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.0005439/0.347, allocations: 335.7 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.347, allocations: 12.03 kB / 1.12 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.3471, allocations: 8.891 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.3473, allocations: 146.4 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3474, allocations: 12.36 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3474, allocations: 8.312 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3475, allocations: 68.83 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3475, allocations: 4.188 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3475, allocations: 3.938 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3475, allocations: 0 / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.3476, allocations: 23.92 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3481, allocations: 424.7 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/0.3481, allocations: 22.58 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.3481, allocations: 4.859 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.3481, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.3482, allocations: 59.45 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3482, allocations: 4 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.3484, allocations: 69.58 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3485, allocations: 51.41 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3486, allocations: 138.1 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3486, allocations: 25.7 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.3487, allocations: 100.1 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.3487, allocations: 11.94 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.3488, allocations: 33.69 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3489, allocations: 322.8 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.349, allocations: 57.69 kB / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.3491, allocations: 80.25 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3492, allocations: 84.2 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3492, allocations: 0 / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002856/0.3495, allocations: 177.2 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.3496, allocations: 37.69 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3496, allocations: 3.938 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3496, allocations: 7.984 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.804e-05/0.3496, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3496, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3498, allocations: 28.06 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.3499, allocations: 15.98 kB / 1.122 GB, free: 13.39 MB / 1.076 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.00011/0.35, allocations: 121.7 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.35, allocations: 7.953 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.35, allocations: 8.281 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.35, allocations: 4 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.35, allocations: 0 / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.35, allocations: 0 / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3501, allocations: 121.2 kB / 1.122 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3502, allocations: 4 kB / 1.122 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-06/0.3502, allocations: 4 kB / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3502, allocations: 0 / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.3502, allocations: 0 / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3502, allocations: 64 / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3502, allocations: 7.984 kB / 1.122 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.3503, allocations: 89 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.3503, allocations: 7.953 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3503, allocations: 3.938 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.3503, allocations: 0 / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.3504, allocations: 11.98 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3504, allocations: 4 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.3505, allocations: 102.3 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3505, allocations: 0 / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000218/0.3507, allocations: 16 kB / 1.123 GB, free: 12.83 MB / 1.076 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.0001736/0.3509, allocations: 103.2 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3511, allocations: 137.1 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3511, allocations: 0 / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.3511, allocations: 11.94 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.3513, allocations: 22.36 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.3517, allocations: 158.8 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.3518, allocations: 71.33 kB / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.3518, allocations: 7.938 kB / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.3518, allocations: 12.5 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.3518, allocations: 0 / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of Templates: time 0.004339/0.3562, allocations: 1.184 MB / 1.124 GB, free: 11.08 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.849035011953674]