Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001645/0.001645, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001741/0.001741, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.143/3.143, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_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.001933/0.001933, allocations: 67.39 kB / 1.172 GB, free: 17.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.002104/0.3132, allocations: 0.8614 MB / 1.349 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3147, allocations: 1.198 MB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3148, allocations: 3.938 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3149, allocations: 27.8 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.3149, allocations: 27.78 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.3154, allocations: 145.1 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3156, allocations: 171.5 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3157, allocations: 33.61 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.3158, allocations: 55.78 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3159, allocations: 51.81 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.3159, allocations: 16 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.316, allocations: 27.98 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.316, allocations: 23.86 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.3161, allocations: 59.73 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3163, allocations: 171.4 kB / 1.351 GB, free: 7.078 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3163, allocations: 0 / 1.351 GB, free: 7.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 7.91e-07/0.3163, allocations: 0 / 1.351 GB, free: 7.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3163, allocations: 0 / 1.351 GB, free: 7.078 MB / 1.045 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.0005437/0.3169, allocations: 436.6 kB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3169, allocations: 15.98 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3169, allocations: 38.73 kB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.317, allocations: 12.89 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3173, allocations: 233.3 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3173, allocations: 8.375 kB / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3173, allocations: 8.375 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3174, allocations: 76.81 kB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3174, allocations: 3.938 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3175, allocations: 0 / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3175, allocations: 8 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.3175, allocations: 31.92 kB / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.3182, allocations: 0.5321 MB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.3183, allocations: 26.58 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.3183, allocations: 20.91 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.3183, allocations: 0 / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.3184, allocations: 63.33 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.3184, allocations: 0 / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002575/0.3187, allocations: 81.59 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.3187, allocations: 51.41 kB / 1.352 GB, free: 5.234 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3189, allocations: 179.3 kB / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.319, allocations: 29.7 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.3191, allocations: 112 kB / 1.352 GB, free: 4.898 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3191, allocations: 11.94 kB / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.3191, allocations: 37.64 kB / 1.352 GB, free: 4.844 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3193, allocations: 322.8 kB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.3194, allocations: 39.98 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.3195, allocations: 54.56 kB / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3196, allocations: 92.27 kB / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3196, allocations: 7.875 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003162/0.32, allocations: 167.3 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.32, allocations: 43.56 kB / 1.353 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.32, allocations: 0 / 1.353 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.32, allocations: 4 kB / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.3201, allocations: 0 / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3201, allocations: 12 kB / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3203, allocations: 31.86 kB / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.3203, allocations: 7.984 kB / 1.353 GB, free: 4.027 MB / 1.045 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.0001189/0.3204, allocations: 117.8 kB / 1.353 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.3204, allocations: 7.953 kB / 1.353 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.3205, allocations: 12.94 kB / 1.353 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3205, allocations: 0 / 1.353 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3205, allocations: 11.92 kB / 1.353 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3205, allocations: 0 / 1.353 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3207, allocations: 185.6 kB / 1.354 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3207, allocations: 3.984 kB / 1.354 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.3207, allocations: 4 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3207, allocations: 0 / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3207, allocations: 0 / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3207, allocations: 3.938 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3207, allocations: 4.172 kB / 1.354 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3208, allocations: 97.06 kB / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.3209, allocations: 93 kB / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3209, allocations: 0 / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.3209, allocations: 4 kB / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.321, allocations: 7.938 kB / 1.354 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.321, allocations: 0 / 1.354 GB, free: 3.383 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000111/0.3211, allocations: 127.9 kB / 1.354 GB, free: 3.258 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3211, allocations: 0 / 1.354 GB, free: 3.258 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002235/0.3213, allocations: 24 kB / 1.354 GB, free: 3.234 MB / 1.045 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.0004579/0.3218, allocations: 0.6396 MB / 1.355 GB, free: 2.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.322, allocations: 119.4 kB / 1.355 GB, free: 2.434 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.322, allocations: 3.938 kB / 1.355 GB, free: 2.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.322, allocations: 12 kB / 1.355 GB, free: 2.418 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.3222, allocations: 27.98 kB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.324, allocations: 1.653 MB / 1.356 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3244, allocations: 0.7041 MB / 1.357 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.3244, allocations: 8.422 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.3244, allocations: 27.44 kB / 1.357 GB, free: 15.87 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3244, allocations: 0 / 1.357 GB, free: 15.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.3502, allocations: 2.846 MB / 1.36 GB, free: 13.19 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.154, allocations: 3.938 kB / 1.36 GB, free: 13.19 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.522661079186946]