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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 110.6 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 192.4 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.9 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.7 MB / 0.7635 GB, free: 10.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.89 kB / 1.108 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8773, allocations: 168.7 MB / 1.272 GB, free: 4.422 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.0026/0.8799, allocations: 0.8634 MB / 1.273 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.8816, allocations: 1.172 MB / 1.274 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.8817, allocations: 4 kB / 1.274 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.8819, allocations: 27.73 kB / 1.274 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.8819, allocations: 19.84 kB / 1.274 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.8825, allocations: 154.7 kB / 1.275 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.8827, allocations: 167.6 kB / 1.275 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.8829, allocations: 41.11 kB / 1.275 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.883, allocations: 59.84 kB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.8831, allocations: 55.69 kB / 1.275 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.8831, allocations: 16 kB / 1.275 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.8832, allocations: 27.98 kB / 1.275 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.8833, allocations: 19.92 kB / 1.275 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.8834, allocations: 51.73 kB / 1.275 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.8836, allocations: 169.4 kB / 1.275 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8836, allocations: 3.938 kB / 1.275 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8836, allocations: 0 / 1.275 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8836, allocations: 0 / 1.275 GB, free: 1.582 MB / 0.9669 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.0006323/0.8843, allocations: 444.7 kB / 1.276 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.8843, allocations: 8.031 kB / 1.276 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.8843, allocations: 34.75 kB / 1.276 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.8844, allocations: 12.89 kB / 1.276 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.8847, allocations: 220.2 kB / 1.276 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.8847, allocations: 8.375 kB / 1.276 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.8847, allocations: 8.375 kB / 1.276 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.8849, allocations: 88.75 kB / 1.276 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8849, allocations: 7.875 kB / 1.276 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.8849, allocations: 4 kB / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8849, allocations: 0 / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.885, allocations: 27.98 kB / 1.276 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.8855, allocations: 0.5321 MB / 1.276 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/0.8856, allocations: 30.52 kB / 1.277 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.8857, allocations: 20.91 kB / 1.277 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.8857, allocations: 3.938 kB / 1.277 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.8858, allocations: 59.39 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.8858, allocations: 4 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.886, allocations: 89.7 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.8861, allocations: 55.41 kB / 1.277 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.8862, allocations: 176 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.8863, allocations: 29.7 kB / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.8864, allocations: 108.1 kB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.8864, allocations: 7.953 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.8864, allocations: 29.7 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8866, allocations: 330.8 kB / 1.277 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/0.8867, allocations: 31.98 kB / 1.277 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.8868, allocations: 66.59 kB / 1.277 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.8869, allocations: 92.2 kB / 1.278 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8869, allocations: 0 / 1.278 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003017/0.8872, allocations: 171.2 kB / 1.278 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.8873, allocations: 41.69 kB / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8873, allocations: 0 / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8873, allocations: 0 / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.607e-05/0.8873, allocations: 4 kB / 1.278 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8873, allocations: 3.938 kB / 1.278 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.8875, allocations: 27.92 kB / 1.278 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.8875, allocations: 7.984 kB / 1.278 GB, free: 14.54 MB / 0.9825 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.0001159/0.8877, allocations: 132.1 kB / 1.278 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.8877, allocations: 11.89 kB / 1.278 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.8877, allocations: 8.938 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8877, allocations: 3.984 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8877, allocations: 3.938 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8877, allocations: 4 kB / 1.278 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.8879, allocations: 193.6 kB / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8879, allocations: 0 / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.8879, allocations: 0 / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.8879, allocations: 4 kB / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.8879, allocations: 4 kB / 1.278 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8879, allocations: 0 / 1.278 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8879, allocations: 3.938 kB / 1.278 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.8881, allocations: 93.03 kB / 1.278 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.8881, allocations: 89.05 kB / 1.278 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.8881, allocations: 7.938 kB / 1.278 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.462e-05/0.8882, allocations: 4 kB / 1.278 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.8882, allocations: 7.938 kB / 1.278 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.8882, allocations: 7.938 kB / 1.278 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001122/0.8883, allocations: 127.9 kB / 1.278 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8883, allocations: 0 / 1.278 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002168/0.8885, allocations: 20 kB / 1.279 GB, free: 13.73 MB / 0.9825 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.0004959/0.889, allocations: 0.6358 MB / 1.279 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.8893, allocations: 123.3 kB / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8893, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.8893, allocations: 12 kB / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.8895, allocations: 19.92 kB / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.8915, allocations: 1.669 MB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.8918, allocations: 0.7002 MB / 1.282 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.8919, allocations: 8.422 kB / 1.282 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.8919, allocations: 23.77 kB / 1.282 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8919, allocations: 0 / 1.282 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.9168, allocations: 2.81 MB / 1.284 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.983, allocations: 10.36 kB / 1.284 GB, free: 7.668 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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: 14.976261717034504]