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.0009468/0.0009468, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001011/0.001011, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9739/0.9739, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.798/1.798, allocations: 359 MB / 0.6052 GB, free: 11 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.134e-06/2.134e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.647e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 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.002276/0.002303, allocations: 0.8702 MB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.004037, allocations: 1.213 MB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.004134, allocations: 7.938 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.0043, allocations: 23.8 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.004362, allocations: 24.34 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.004943, allocations: 140.5 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.005196, allocations: 176.6 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.005323, allocations: 21.58 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.005454, allocations: 83.86 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.005565, allocations: 41.3 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.0056, allocations: 16 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.005676, allocations: 23.98 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.005706, allocations: 19.86 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.005781, allocations: 44.97 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.006005, allocations: 119.6 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006008, allocations: 0 / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006009, allocations: 1.562 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.006013, allocations: 0 / 0.7898 GB, free: 9.68 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.0005765/0.00659, allocations: 457.9 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.006635, allocations: 12.03 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.006705, allocations: 22.48 kB / 0.7903 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.006981, allocations: 168.4 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.007007, allocations: 5.125 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.007035, allocations: 8.375 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.007189, allocations: 102.7 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.007202, allocations: 192 / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.007215, allocations: 5.875 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.007225, allocations: 384 / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.007272, allocations: 23.8 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.007796, allocations: 0.5912 MB / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.431e-05/0.00786, allocations: 36.86 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.007883, allocations: 11.75 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.007891, allocations: 4 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.962e-05/0.00799, allocations: 65.05 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.007992, allocations: 2.375 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000202/0.008194, allocations: 73.75 kB / 0.7914 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.008229, allocations: 51.41 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.008393, allocations: 212.1 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.008415, allocations: 29.7 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.008497, allocations: 154.8 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.00851, allocations: 8.578 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.008581, allocations: 40.08 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.008723, allocations: 0.4961 MB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.008818, allocations: 58.2 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.008912, allocations: 88.73 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.009019, allocations: 94.41 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.009021, allocations: 0 / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000271/0.009292, allocations: 185.5 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.009327, allocations: 42.95 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.009333, allocations: 0 / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.009349, allocations: 0 / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.009402, allocations: 4 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.009408, allocations: 1.156 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.009548, allocations: 23.92 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.009568, allocations: 9.375 kB / 0.7928 GB, free: 6.348 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 9.645e-05/0.009665, allocations: 172.4 kB / 0.793 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.009681, allocations: 9.703 kB / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.009716, allocations: 16.33 kB / 0.793 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.009718, allocations: 0 / 0.793 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.009722, allocations: 0 / 0.793 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009725, allocations: 0 / 0.793 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.00984, allocations: 141.4 kB / 0.7931 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009841, allocations: 0 / 0.7931 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.009855, allocations: 4 kB / 0.7931 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009857, allocations: 1.594 kB / 0.7931 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.009867, allocations: 7.984 kB / 0.7931 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.009869, allocations: 0 / 0.7931 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00987, allocations: 0 / 0.7931 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.009986, allocations: 101.2 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.01, allocations: 11.89 kB / 0.7933 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.01002, allocations: 3.984 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.01004, allocations: 3.375 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.01007, allocations: 8 kB / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.01007, allocations: 4 kB / 0.7933 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.01015, allocations: 147.2 kB / 0.7934 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01015, allocations: 4 kB / 0.7934 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002528/0.01041, allocations: 23.95 kB / 0.7934 GB, free: 5.637 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.0001212/0.01053, allocations: 105 kB / 0.7935 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.01074, allocations: 149.2 kB / 0.7937 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01074, allocations: 1.938 kB / 0.7937 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.01077, allocations: 19.67 kB / 0.7937 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01101, allocations: 26.27 kB / 0.7937 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.01137, allocations: 185.9 kB / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.01141, allocations: 67.28 kB / 0.794 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3e-05/0.01144, allocations: 8.719 kB / 0.794 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.01147, allocations: 12.5 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01147, allocations: 0.9062 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.004186/0.01565, allocations: 1.519 MB / 0.7955 GB, free: 3.539 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.114327292889357]