Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.0008128/0.0008128, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008422/0.0008422, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8721/0.8721, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.644/1.644, allocations: 359 MB / 0.6037 GB, free: 11.06 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.9e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001289/0.001308, allocations: 0.7231 MB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.002403, allocations: 1.175 MB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.002466, allocations: 7.938 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.002581, allocations: 15.8 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.588e-05/0.002607, allocations: 11.92 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.002973, allocations: 138.8 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.003135, allocations: 139.6 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.003229, allocations: 16 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.003306, allocations: 55.94 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.003382, allocations: 35.89 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.003401, allocations: 8 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.003457, allocations: 19.98 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.003477, allocations: 15.92 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.003521, allocations: 31.91 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.003676, allocations: 135.5 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.00368, allocations: 4 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003681, allocations: 0 / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003685, allocations: 0 / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003903/0.004075, allocations: 327.8 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.004123, allocations: 15.97 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.00415, allocations: 34.75 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.004184, allocations: 12.89 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.004351, allocations: 149.6 kB / 0.9535 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.004361, allocations: 4.375 kB / 0.9535 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.004375, allocations: 8.375 kB / 0.9535 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.004471, allocations: 80.73 kB / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004479, allocations: 192 / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.004487, allocations: 4.375 kB / 0.9536 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004493, allocations: 4.125 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.00452, allocations: 12 kB / 0.9536 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.004859, allocations: 452.1 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.004899, allocations: 26.52 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.169e-05/0.004911, allocations: 4.859 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-06/0.004917, allocations: 8.062 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.858e-05/0.005005, allocations: 59.34 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005006, allocations: 0 / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.005154, allocations: 69.58 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.005186, allocations: 55.41 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.005274, allocations: 147.7 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.005289, allocations: 25.7 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.005335, allocations: 96.14 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.005345, allocations: 7.953 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.005388, allocations: 37.62 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.005463, allocations: 326.8 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.005526, allocations: 57.67 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.005586, allocations: 84.27 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.735e-05/0.005653, allocations: 80.2 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005655, allocations: 0 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.005823, allocations: 184.9 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.005849, allocations: 29.7 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005854, allocations: 4 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.005865, allocations: 4.094 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.258e-05/0.005878, allocations: 0 / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.005883, allocations: 4 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.006014, allocations: 27.92 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.006028, allocations: 11.92 kB / 0.9553 GB, free: 14.27 MB / 0.9167 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.996e-05/0.006088, allocations: 113.8 kB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.006098, allocations: 7.953 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.006121, allocations: 16.33 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006122, allocations: 4 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.006126, allocations: 0 / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006129, allocations: 4.172 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.798e-05/0.006217, allocations: 144.7 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006217, allocations: 0 / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-06/0.00622, allocations: 3.938 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006222, allocations: 7.984 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.006227, allocations: 0 / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.006228, allocations: 0 / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006229, allocations: 0 / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.627e-05/0.006295, allocations: 85.02 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.006305, allocations: 11.95 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.006315, allocations: 3.984 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.006324, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.006346, allocations: 8 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.006349, allocations: 0 / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.006399, allocations: 118 kB / 0.9558 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.006399, allocations: 0 / 0.9558 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001458/0.006545, allocations: 19.94 kB / 0.9558 GB, free: 13.66 MB / 0.9167 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0002574/0.006802, allocations: 0.6279 MB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.006963, allocations: 145 kB / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006964, allocations: 0 / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.006981, allocations: 7.984 kB / 0.9566 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.007129, allocations: 18.5 kB / 0.9566 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.008215, allocations: 1.632 MB / 0.9582 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.008255, allocations: 71.33 kB / 0.9583 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.008274, allocations: 8.188 kB / 0.9583 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.008307, allocations: 24.48 kB / 0.9583 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/0.008307, allocations: 0 / 0.9583 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.02516, allocations: 3.158 MB / 0.9614 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.211, allocations: 18.88 kB / 0.9614 GB, free: 7.938 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.095517825335264]