Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001888/0.001888, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001471/0.001471, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.971/2.971, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [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.002084/0.002084, allocations: 67.91 kB / 1.15 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9287, allocations: 176.1 MB / 1.322 GB, free: 7.973 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002378/0.9311, allocations: 0.9242 MB / 1.323 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.9328, allocations: 1.217 MB / 1.324 GB, free: 6.289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.9329, allocations: 5.594 kB / 1.324 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.9331, allocations: 26.53 kB / 1.324 GB, free: 6.262 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.753e-05/0.9331, allocations: 22.36 kB / 1.324 GB, free: 6.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.9336, allocations: 138.4 kB / 1.324 GB, free: 6.148 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.9339, allocations: 177.1 kB / 1.324 GB, free: 6.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.934, allocations: 25.52 kB / 1.324 GB, free: 6.016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.9341, allocations: 59.06 kB / 1.324 GB, free: 5.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.9342, allocations: 56.06 kB / 1.325 GB, free: 5.938 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.9342, allocations: 14.19 kB / 1.325 GB, free: 5.938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-05/0.9343, allocations: 29.02 kB / 1.325 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.9343, allocations: 19.48 kB / 1.325 GB, free: 5.914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.9344, allocations: 61.66 kB / 1.325 GB, free: 5.867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.9347, allocations: 174.3 kB / 1.325 GB, free: 5.738 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.9347, allocations: 0 / 1.325 GB, free: 5.738 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9347, allocations: 1.062 kB / 1.325 GB, free: 5.738 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.9347, allocations: 0 / 1.325 GB, free: 5.738 MB / 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.0005843/0.9353, allocations: 438.6 kB / 1.325 GB, free: 5.289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.9353, allocations: 12.64 kB / 1.325 GB, free: 5.285 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.9354, allocations: 20.08 kB / 1.325 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.9357, allocations: 219.7 kB / 1.325 GB, free: 5.039 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.9357, allocations: 12.44 kB / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.9357, allocations: 7.469 kB / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.9359, allocations: 81.94 kB / 1.326 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.9359, allocations: 1.656 kB / 1.326 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.9359, allocations: 7.938 kB / 1.326 GB, free: 4.945 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9359, allocations: 1.344 kB / 1.326 GB, free: 4.945 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.936, allocations: 29.7 kB / 1.326 GB, free: 4.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.9365, allocations: 0.5435 MB / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.902e-05/0.9366, allocations: 29.44 kB / 1.326 GB, free: 4.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.9366, allocations: 12.55 kB / 1.326 GB, free: 4.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.9367, allocations: 0 / 1.326 GB, free: 4.328 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.9368, allocations: 64.42 kB / 1.326 GB, free: 4.266 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.9368, allocations: 3.938 kB / 1.326 GB, free: 4.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002167/0.937, allocations: 83.69 kB / 1.326 GB, free: 4.203 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.937, allocations: 52.59 kB / 1.326 GB, free: 4.141 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.9372, allocations: 177 kB / 1.327 GB, free: 3.996 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.9372, allocations: 26.98 kB / 1.327 GB, free: 3.965 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.9373, allocations: 103.5 kB / 1.327 GB, free: 3.867 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.9373, allocations: 9.516 kB / 1.327 GB, free: 3.859 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.9374, allocations: 29.3 kB / 1.327 GB, free: 3.836 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9376, allocations: 322.4 kB / 1.327 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.9376, allocations: 41.08 kB / 1.327 GB, free: 3.492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.9377, allocations: 59.02 kB / 1.327 GB, free: 3.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.9379, allocations: 87.92 kB / 1.327 GB, free: 3.367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9379, allocations: 0 / 1.327 GB, free: 3.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000292/0.9382, allocations: 173.5 kB / 1.327 GB, free: 3.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.9382, allocations: 36.7 kB / 1.327 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.9382, allocations: 1.406 kB / 1.327 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.9382, allocations: 1.406 kB / 1.327 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.9383, allocations: 10.5 kB / 1.327 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9383, allocations: 5.422 kB / 1.327 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.9385, allocations: 28.06 kB / 1.327 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.9385, allocations: 5.344 kB / 1.327 GB, free: 3.188 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.0001143/0.9386, allocations: 123.6 kB / 1.328 GB, free: 3.062 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.9386, allocations: 13.28 kB / 1.328 GB, free: 3.055 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.9387, allocations: 15.39 kB / 1.328 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.9387, allocations: 1.312 kB / 1.328 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9387, allocations: 0 / 1.328 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9387, allocations: 5.281 kB / 1.328 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.9389, allocations: 197.5 kB / 1.328 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9389, allocations: 0 / 1.328 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.9389, allocations: 2.594 kB / 1.328 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9389, allocations: 240 / 1.328 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.9389, allocations: 5.219 kB / 1.328 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.9389, allocations: 4 kB / 1.328 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9389, allocations: 1.281 kB / 1.328 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.939, allocations: 105.2 kB / 1.328 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.9391, allocations: 87.48 kB / 1.328 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.9391, allocations: 1.469 kB / 1.328 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.9391, allocations: 0 / 1.328 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.9392, allocations: 9.297 kB / 1.328 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.9392, allocations: 6.594 kB / 1.328 GB, free: 2.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001048/0.9393, allocations: 134.2 kB / 1.328 GB, free: 2.484 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9393, allocations: 0 / 1.328 GB, free: 2.484 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002196/0.9395, allocations: 18.44 kB / 1.328 GB, free: 2.484 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001591/0.9397, allocations: 104 kB / 1.328 GB, free: 2.391 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.9399, allocations: 126.8 kB / 1.328 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9399, allocations: 0 / 1.328 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.9399, allocations: 13.12 kB / 1.328 GB, free: 2.285 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.9402, allocations: 21.17 kB / 1.328 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.9406, allocations: 219.8 kB / 1.329 GB, free: 2.078 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.941, allocations: 0.702 MB / 1.329 GB, free: 1.367 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.941, allocations: 12.44 kB / 1.329 GB, free: 1.359 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.941, allocations: 4 kB / 1.329 GB, free: 1.355 MB / 1.014 GB Notification: Performance of Templates: time 0.003304/0.9443, allocations: 1.463 MB / 1.331 GB, free: 0.6055 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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: 11.219282403006218]