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.0007934/0.0007934, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007706/0.0007706, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.84/0.84, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.659/1.659, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.381e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.001446/0.001459, allocations: 0.8919 MB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.002515, allocations: 1.205 MB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.00258, allocations: 3.938 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.002694, allocations: 19.86 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.002736, allocations: 23.73 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.0031, allocations: 145.6 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.003268, allocations: 171.6 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.003368, allocations: 29.53 kB / 0.9834 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.003447, allocations: 87.81 kB / 0.9835 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.003533, allocations: 43.86 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003552, allocations: 12 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.961e-05/0.003602, allocations: 24 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.003624, allocations: 15.92 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.003672, allocations: 47.89 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.003991, allocations: 187.4 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003993, allocations: 3.984 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003994, allocations: 0 / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003998, allocations: 0 / 0.9838 GB, free: 15.69 MB / 0.948 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.0003879/0.004386, allocations: 355.6 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.00442, allocations: 12.03 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.333e-05/0.004444, allocations: 34.75 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.004477, allocations: 16.88 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.004655, allocations: 167.5 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.004668, allocations: 12.38 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.004683, allocations: 8.375 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.004783, allocations: 76.81 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.00479, allocations: 192 / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.004799, allocations: 12.38 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.004805, allocations: 4.125 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.004849, allocations: 27.92 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.005213, allocations: 488.1 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.005259, allocations: 26.58 kB / 0.985 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.005278, allocations: 8.922 kB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-06/0.005286, allocations: 7.875 kB / 0.985 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.477e-05/0.005371, allocations: 63.39 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005372, allocations: 0 / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001541/0.005526, allocations: 97.69 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.005555, allocations: 51.41 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.005658, allocations: 169.6 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.005674, allocations: 33.64 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.005723, allocations: 108.1 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.005734, allocations: 11.88 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.005777, allocations: 33.7 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.005848, allocations: 326.8 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.005916, allocations: 69.67 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.005978, allocations: 84.27 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/0.006054, allocations: 96.2 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.006057, allocations: 4 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.006236, allocations: 196.9 kB / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.006262, allocations: 37.7 kB / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006266, allocations: 0 / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.006277, allocations: 4 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.968e-05/0.006316, allocations: 0 / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.006321, allocations: 3.984 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.006434, allocations: 35.98 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.006447, allocations: 8 kB / 0.9863 GB, free: 12.78 MB / 0.948 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 6.185e-05/0.006509, allocations: 121.8 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.006518, allocations: 7.953 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.00654, allocations: 17.02 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.006542, allocations: 0 / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.006545, allocations: 0 / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006548, allocations: 0 / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.456e-05/0.006632, allocations: 160.7 kB / 0.9866 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006633, allocations: 4 kB / 0.9866 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.006642, allocations: 4 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006643, allocations: 0 / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.006648, allocations: 3.938 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006649, allocations: 0 / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006649, allocations: 0 / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.006726, allocations: 101 kB / 0.9867 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.006739, allocations: 11.94 kB / 0.9868 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.006749, allocations: 0 / 0.9868 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.006761, allocations: 7.875 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.00678, allocations: 0 / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.006784, allocations: 12 kB / 0.9868 GB, free: 12.26 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.006845, allocations: 126.3 kB / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006845, allocations: 0 / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001438/0.006989, allocations: 27.94 kB / 0.9869 GB, free: 12.11 MB / 0.948 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.0002524/0.007241, allocations: 0.6401 MB / 0.9875 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.007392, allocations: 153 kB / 0.9877 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007394, allocations: 0 / 0.9877 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.007416, allocations: 15.98 kB / 0.9877 GB, free: 11.26 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.007574, allocations: 23.25 kB / 0.9877 GB, free: 11.24 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.008882, allocations: 1.821 MB / 0.9895 GB, free: 9.297 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.292e-05/0.008935, allocations: 84.44 kB / 0.9896 GB, free: 9.191 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.008965, allocations: 12.48 kB / 0.9896 GB, free: 9.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.00901, allocations: 28.83 kB / 0.9896 GB, free: 9.152 MB / 0.948 GB Notification: Performance of SimCode: time 1.673e-06/0.009012, allocations: 4 kB / 0.9896 GB, free: 9.148 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.02433, allocations: 3.653 MB / 0.9932 GB, free: 5.664 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.694, allocations: 3.719 kB / 0.9932 GB, free: 5.664 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] 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/jenkins/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: 10.517455630004406]