Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001311/0.001311, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001495/0.001495, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.824 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.23/3.23, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",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.001928/0.001928, allocations: 71.08 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3531, allocations: 176.1 MB / 1.326 GB, free: 1.547 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002167/0.3552, allocations: 0.7369 MB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3568, allocations: 1.17 MB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.3569, allocations: 4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.357, allocations: 19.78 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.3571, allocations: 15.88 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3575, allocations: 132.5 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3577, allocations: 127.7 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3579, allocations: 28.2 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.3579, allocations: 47.91 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.358, allocations: 39.83 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3581, allocations: 12 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.3581, allocations: 19.98 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3582, allocations: 11.94 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.3582, allocations: 43.83 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.3585, allocations: 103.6 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3585, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3585, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3585, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 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.0005078/0.359, allocations: 339.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3591, allocations: 16.03 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.3591, allocations: 42.67 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.3592, allocations: 16.83 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3594, allocations: 138.4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3594, allocations: 4.375 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.3595, allocations: 16.34 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3596, allocations: 68.77 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3596, allocations: 3.938 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3596, allocations: 8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3596, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.3597, allocations: 15.98 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.3601, allocations: 452.1 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.3602, allocations: 18.58 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.3602, allocations: 8.844 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.3602, allocations: 8 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.952e-05/0.3603, allocations: 55.41 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3603, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002273/0.3605, allocations: 69.62 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3606, allocations: 59.41 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3607, allocations: 151.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3608, allocations: 25.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.3608, allocations: 108.1 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.3608, allocations: 3.953 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.3609, allocations: 29.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3611, allocations: 322.8 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.3612, allocations: 57.69 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3613, allocations: 80.25 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3614, allocations: 88.2 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3614, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003607/0.3617, allocations: 181 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.3618, allocations: 33.69 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3618, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3618, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.249e-05/0.3618, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3618, allocations: 3.938 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.362, allocations: 36.06 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.362, allocations: 4 kB / 1.331 GB, free: 12.35 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: 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 0.0001286/0.3622, allocations: 121.8 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.3622, allocations: 7.953 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.3622, allocations: 8.344 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3622, allocations: 240 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3622, allocations: 3.938 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3622, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3624, allocations: 148.7 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3624, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.3624, allocations: 4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3624, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3624, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.3624, allocations: 7.922 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3624, allocations: 3.938 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3625, allocations: 81.08 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.3625, allocations: 7.953 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3625, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.3625, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3626, allocations: 11.92 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.3626, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.3627, allocations: 116.6 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002151/0.3629, allocations: 23.92 kB / 1.331 GB, free: 11.72 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: 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.0004275/0.3633, allocations: 0.628 MB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3635, allocations: 141 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3635, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.3636, allocations: 7.938 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3638, allocations: 26.47 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.3655, allocations: 1.627 MB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.448e-05/0.3656, allocations: 75.33 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.3656, allocations: 11.92 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.3656, allocations: 15.44 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3656, allocations: 0 / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.3957, allocations: 3.046 MB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 11.42 kB / 1.337 GB, free: 6.102 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.10917400501785]