Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001958/0.001958, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002337/0.002337, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.28/3.28, allocations: 0.49 GB / 0.7916 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [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.002036/0.002036, allocations: 71.11 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3149, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002247/0.3172, allocations: 0.8623 MB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3187, allocations: 1.194 MB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.3188, allocations: 7.938 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.319, allocations: 23.8 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.547e-05/0.319, allocations: 27.73 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.3195, allocations: 134.8 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3197, allocations: 167.6 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3199, allocations: 37.61 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.3199, allocations: 59.78 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3201, allocations: 55.75 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.3201, allocations: 12 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.3202, allocations: 31.98 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.3202, allocations: 19.92 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.3203, allocations: 59.72 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3205, allocations: 167.4 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3205, allocations: 0 / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3205, allocations: 0 / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3205, allocations: 0 / 1.324 GB, free: 484 kB / 1.014 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.000587/0.3211, allocations: 432.7 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3212, allocations: 15.98 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.3212, allocations: 34.69 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.3213, allocations: 20.84 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.3216, allocations: 229.9 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3216, allocations: 8.375 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.3216, allocations: 8.375 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3218, allocations: 76.81 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3218, allocations: 3.938 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3218, allocations: 15.98 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3218, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.3219, allocations: 27.92 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.3225, allocations: 0.5321 MB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.3225, allocations: 34.56 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.3226, allocations: 12.92 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.3226, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.3227, allocations: 67.27 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3227, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002358/0.3229, allocations: 77.64 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.323, allocations: 51.41 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.3232, allocations: 188.2 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3232, allocations: 25.7 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.3233, allocations: 116 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.3233, allocations: 3.953 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.3234, allocations: 37.7 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3236, allocations: 318.8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.3237, allocations: 39.98 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3238, allocations: 70.48 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3239, allocations: 84.28 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3239, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003206/0.3242, allocations: 171.2 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.3243, allocations: 37.7 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3243, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3243, allocations: 4.062 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.3244, allocations: 7.938 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3244, allocations: 7.938 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3246, allocations: 27.91 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3246, allocations: 7.984 kB / 1.326 GB, free: 13.43 MB / 1.029 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.0001318/0.3248, allocations: 121.8 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.3248, allocations: 11.91 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.3248, allocations: 16.92 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3248, allocations: 0 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3248, allocations: 3.938 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3248, allocations: 0 / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.325, allocations: 189.6 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.325, allocations: 0 / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.3251, allocations: 4 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3251, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3251, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3251, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3251, allocations: 3.938 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3252, allocations: 101 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.3253, allocations: 89 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3253, allocations: 4.062 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.753e-05/0.3254, allocations: 11.94 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3254, allocations: 4.219 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3254, allocations: 0 / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001231/0.3255, allocations: 131.9 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3255, allocations: 0 / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002332/0.3258, allocations: 28 kB / 1.327 GB, free: 12.62 MB / 1.029 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.0005402/0.3263, allocations: 0.6358 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.3266, allocations: 119.4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3266, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.3266, allocations: 20.06 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3269, allocations: 26.09 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.329, allocations: 1.654 MB / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3294, allocations: 0.7002 MB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.3294, allocations: 12.36 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.3295, allocations: 27.42 kB / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3295, allocations: 0 / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.3554, allocations: 2.831 MB / 1.333 GB, free: 6.586 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.617, allocations: 6 kB / 1.333 GB, free: 6.582 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phNo.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.435004774015397]