Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 497.2 MB / 0.7812 GB, free: 11.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.89 kB / 1.134 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9279, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.001824/0.9298, allocations: 0.7523 MB / 1.305 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.9309, allocations: 1.159 MB / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.9309, allocations: 2.906 kB / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.9311, allocations: 22.06 kB / 1.306 GB, free: 30.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.9311, allocations: 14.72 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.9315, allocations: 138.8 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.9317, allocations: 127 kB / 1.306 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.9318, allocations: 21.42 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.9319, allocations: 46.16 kB / 1.306 GB, free: 30.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.932, allocations: 45.47 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.932, allocations: 11.84 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.948e-05/0.932, allocations: 21.42 kB / 1.306 GB, free: 30.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.9321, allocations: 10.09 kB / 1.306 GB, free: 30.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.9321, allocations: 38.86 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.9323, allocations: 112.6 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9323, allocations: 7.094 kB / 1.306 GB, free: 30.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9323, allocations: 0 / 1.306 GB, free: 30.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9323, allocations: 0 / 1.306 GB, free: 30.49 MB / 1.061 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.0004207/0.9327, allocations: 415.5 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.9327, allocations: 11.69 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.9328, allocations: 34.75 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.9328, allocations: 10.52 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.933, allocations: 203.5 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.933, allocations: 5.875 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.9331, allocations: 6 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.9332, allocations: 71.05 kB / 1.307 GB, free: 29.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9332, allocations: 7.875 kB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.9332, allocations: 6.969 kB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.9332, allocations: 0 / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.9332, allocations: 15.75 kB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.9336, allocations: 0.4935 MB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/0.9336, allocations: 17.3 kB / 1.308 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.9337, allocations: 11.05 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.9337, allocations: 3.938 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.075e-05/0.9338, allocations: 56.22 kB / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9338, allocations: 0 / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000173/0.9339, allocations: 69.19 kB / 1.308 GB, free: 29.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.934, allocations: 54.83 kB / 1.308 GB, free: 29.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.9341, allocations: 150.6 kB / 1.308 GB, free: 28.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.9341, allocations: 32.58 kB / 1.308 GB, free: 28.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.9341, allocations: 102.9 kB / 1.308 GB, free: 28.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.9341, allocations: 10.02 kB / 1.308 GB, free: 28.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.9342, allocations: 28.03 kB / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.9343, allocations: 325.3 kB / 1.308 GB, free: 28.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.9343, allocations: 29.78 kB / 1.308 GB, free: 28.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.9344, allocations: 51.06 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.422e-05/0.9345, allocations: 84.34 kB / 1.309 GB, free: 28.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.9345, allocations: 0 / 1.309 GB, free: 28.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002044/0.9347, allocations: 148.7 kB / 1.309 GB, free: 28.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.9347, allocations: 38.3 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9347, allocations: 0 / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9347, allocations: 2.938 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.9347, allocations: 3.234 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9348, allocations: 3.938 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.9349, allocations: 35.56 kB / 1.309 GB, free: 28.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.935, allocations: 12.73 kB / 1.309 GB, free: 28.18 MB / 1.061 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 6.462e-05/0.935, allocations: 115.3 kB / 1.309 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.935, allocations: 10.95 kB / 1.309 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.9351, allocations: 10.23 kB / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.9351, allocations: 0 / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.9351, allocations: 3.938 kB / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9351, allocations: 3.031 kB / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.535e-05/0.9352, allocations: 171.9 kB / 1.309 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9352, allocations: 2.781 kB / 1.309 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.9352, allocations: 0 / 1.309 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.9352, allocations: 0 / 1.309 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.9352, allocations: 0 / 1.309 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9352, allocations: 4 kB / 1.309 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9352, allocations: 10.69 kB / 1.309 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.411e-05/0.9353, allocations: 84.03 kB / 1.309 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.9353, allocations: 81.06 kB / 1.309 GB, free: 27.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.9353, allocations: 6.031 kB / 1.309 GB, free: 27.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.9353, allocations: 4.062 kB / 1.309 GB, free: 27.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.9354, allocations: 3.938 kB / 1.309 GB, free: 27.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.9354, allocations: 2.812 kB / 1.309 GB, free: 27.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.9354, allocations: 119.8 kB / 1.309 GB, free: 27.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9354, allocations: 0 / 1.309 GB, free: 27.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002073/0.9356, allocations: 17.25 kB / 1.309 GB, free: 27.56 MB / 1.061 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.0003057/0.9359, allocations: 0.6217 MB / 1.31 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.9361, allocations: 113.7 kB / 1.31 GB, free: 26.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9361, allocations: 0 / 1.31 GB, free: 26.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.9361, allocations: 13.78 kB / 1.31 GB, free: 26.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.9363, allocations: 21.3 kB / 1.31 GB, free: 26.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.9375, allocations: 1.492 MB / 1.312 GB, free: 25.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.9377, allocations: 0.6942 MB / 1.312 GB, free: 24.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.9377, allocations: 5.719 kB / 1.312 GB, free: 24.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.9377, allocations: 29.56 kB / 1.312 GB, free: 24.83 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9377, allocations: 0 / 1.312 GB, free: 24.83 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.9626, allocations: 2.42 MB / 1.315 GB, free: 24.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/9.069, allocations: 7.938 kB / 1.315 GB, free: 24.41 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.187913557048887]