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.001941/0.001941, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002135/0.002135, allocations: 157.7 kB / 23.55 MB, free: 0.8789 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 1.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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: 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: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.06e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.002221/0.002252, allocations: 0.7603 MB / 0.8115 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.004006, allocations: 1.169 MB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.004082, allocations: 3.938 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.004232, allocations: 19.86 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.004278, allocations: 15.86 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.004745, allocations: 132.4 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.00499, allocations: 128.5 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005097, allocations: 19.97 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.00522, allocations: 61.58 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.005325, allocations: 39.81 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.005356, allocations: 8 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.005428, allocations: 20 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.005459, allocations: 17.45 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.005524, allocations: 35.84 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.005759, allocations: 119.7 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.005762, allocations: 0 / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005763, allocations: 0.6562 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.005767, allocations: 0 / 0.8133 GB, free: 15.59 MB / 0.7761 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.0005976/0.006364, allocations: 446.2 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.0064, allocations: 8.781 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.006465, allocations: 12.89 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.006729, allocations: 153.8 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.006745, allocations: 4.375 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.006767, allocations: 10.12 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.006917, allocations: 85.28 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.006926, allocations: 4.188 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.006935, allocations: 384 / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.006938, allocations: 384 / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.006985, allocations: 20.97 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.007581, allocations: 0.5601 MB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.007654, allocations: 35.48 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.007677, allocations: 11.69 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.007687, allocations: 4.625 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.007799, allocations: 61.92 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.0078, allocations: 0 / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002067/0.008007, allocations: 70.64 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.00806, allocations: 51.41 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.008248, allocations: 208 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.008279, allocations: 32.05 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.008388, allocations: 150.8 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.008398, allocations: 0 / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.008482, allocations: 43.36 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002568/0.008739, allocations: 0.4884 MB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.008853, allocations: 69.69 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.009004, allocations: 105.2 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.00914, allocations: 89.7 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.009144, allocations: 4.469 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003328/0.009477, allocations: 202.5 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.009518, allocations: 45.62 kB / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.009523, allocations: 0 / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.009538, allocations: 4.625 kB / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-05/0.009558, allocations: 3.938 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.009563, allocations: 0.7188 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.009745, allocations: 28.69 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.009767, allocations: 7.984 kB / 0.8162 GB, free: 12.33 MB / 0.7761 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.0001351/0.009902, allocations: 165.5 kB / 0.8163 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.009925, allocations: 4 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.009952, allocations: 13.56 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009954, allocations: 0 / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009957, allocations: 0 / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.009965, allocations: 4.922 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.01011, allocations: 132.6 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.01011, allocations: 3.938 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.01012, allocations: 6.281 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01012, allocations: 0 / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.01013, allocations: 0 / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01013, allocations: 0 / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.01014, allocations: 3.984 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.01028, allocations: 100.3 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.0103, allocations: 15.08 kB / 0.8166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.01031, allocations: 0 / 0.8166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.554e-05/0.01032, allocations: 0 / 0.8166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.01035, allocations: 7.984 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01036, allocations: 4 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001036/0.01046, allocations: 141.3 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01046, allocations: 0 / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002104/0.01067, allocations: 20 kB / 0.8168 GB, free: 11.66 MB / 0.7761 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.0001661/0.01084, allocations: 108.3 kB / 0.8169 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.01111, allocations: 169.3 kB / 0.817 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01111, allocations: 0 / 0.817 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.01116, allocations: 24.7 kB / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.01136, allocations: 12.52 kB / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.01172, allocations: 172.2 kB / 0.8172 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.0118, allocations: 75.27 kB / 0.8173 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.01183, allocations: 5.188 kB / 0.8173 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.01185, allocations: 12.5 kB / 0.8173 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01185, allocations: 0 / 0.8173 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of Templates: time 0.00459/0.01644, allocations: 1.205 MB / 0.8185 GB, free: 9.855 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.204822136089206]