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.001442/0.001442, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001659/0.001659, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.01/1.01, allocations: 177.2 MB / 204.6 MB, free: 5.637 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.828/1.828, allocations: 359 MB / 0.6055 GB, free: 11.02 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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.223e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.83 MB / 0.7448 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.002407/0.002439, allocations: 0.859 MB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004204, allocations: 1.217 MB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.004302, allocations: 7.938 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.004461, allocations: 24.56 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.004526, allocations: 17 kB / 0.7892 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.005089, allocations: 151.5 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.005352, allocations: 168.6 kB / 0.7895 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.005491, allocations: 25.56 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.005634, allocations: 83.81 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.005747, allocations: 40.44 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.005779, allocations: 16.69 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.005855, allocations: 27.98 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.005882, allocations: 8.844 kB / 0.7897 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.005954, allocations: 47.89 kB / 0.7897 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.006205, allocations: 120.2 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006209, allocations: 0 / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.00621, allocations: 1.125 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.006217, allocations: 0 / 0.7898 GB, free: 10.04 MB / 0.7448 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.0005918/0.006808, allocations: 457.9 kB / 0.7903 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.006853, allocations: 9.625 kB / 0.7903 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/0.006937, allocations: 24.84 kB / 0.7903 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.007213, allocations: 173.9 kB / 0.7905 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.007238, allocations: 4.375 kB / 0.7905 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.007264, allocations: 12.38 kB / 0.7905 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.007437, allocations: 93.94 kB / 0.7906 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.007446, allocations: 192 / 0.7906 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.007462, allocations: 8.375 kB / 0.7906 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007471, allocations: 384 / 0.7906 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.00753, allocations: 23.86 kB / 0.7906 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.008128, allocations: 0.5912 MB / 0.7912 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/0.008205, allocations: 31.78 kB / 0.7912 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.008235, allocations: 21.39 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.008243, allocations: 0 / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.008364, allocations: 65.05 kB / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.008365, allocations: 0 / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.00859, allocations: 74.75 kB / 0.7914 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.008632, allocations: 51.41 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.008804, allocations: 220.5 kB / 0.7916 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.008827, allocations: 25.7 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.008915, allocations: 155.3 kB / 0.7918 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.00893, allocations: 8.781 kB / 0.7918 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.009008, allocations: 43.36 kB / 0.7918 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.00916, allocations: 0.4931 MB / 0.7923 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.009263, allocations: 57.69 kB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.009367, allocations: 84.73 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.009483, allocations: 89.72 kB / 0.7925 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.009485, allocations: 1.344 kB / 0.7925 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002943/0.009779, allocations: 184.9 kB / 0.7927 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.009824, allocations: 43.97 kB / 0.7928 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.00983, allocations: 0 / 0.7928 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.009845, allocations: 4.844 kB / 0.7928 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.0099, allocations: 3.938 kB / 0.7928 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.009908, allocations: 5.094 kB / 0.7928 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.01007, allocations: 19.94 kB / 0.7928 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.01009, allocations: 8.953 kB / 0.7928 GB, free: 6.703 MB / 0.7448 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 0.0001124/0.0102, allocations: 168.5 kB / 0.793 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.01022, allocations: 13.58 kB / 0.793 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.01025, allocations: 8.344 kB / 0.793 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01026, allocations: 4 kB / 0.793 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01026, allocations: 0 / 0.793 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01026, allocations: 4.547 kB / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.01039, allocations: 137.2 kB / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.0104, allocations: 4.062 kB / 0.7931 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.01041, allocations: 4.5 kB / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01042, allocations: 0 / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.01042, allocations: 0.6875 kB / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01043, allocations: 4.938 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01043, allocations: 4 kB / 0.7931 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.01056, allocations: 108.2 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.01058, allocations: 8.422 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.0106, allocations: 4 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.724e-05/0.01063, allocations: 1.375 kB / 0.7933 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.01065, allocations: 3.984 kB / 0.7933 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01066, allocations: 4 kB / 0.7933 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.155e-05/0.01075, allocations: 152 kB / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01075, allocations: 0 / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002576/0.01101, allocations: 24.89 kB / 0.7934 GB, free: 5.992 MB / 0.7448 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.0001651/0.01118, allocations: 104.5 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.01142, allocations: 148.7 kB / 0.7937 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01142, allocations: 0 / 0.7937 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.01146, allocations: 16.53 kB / 0.7937 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.01173, allocations: 30.14 kB / 0.7937 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.01213, allocations: 193.9 kB / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.01218, allocations: 59.34 kB / 0.794 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.01221, allocations: 11.67 kB / 0.794 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.01224, allocations: 12.5 kB / 0.794 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.01224, allocations: 0 / 0.794 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of Templates: time 0.004654/0.01689, allocations: 1.522 MB / 0.7955 GB, free: 3.895 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.224061392014846]