Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.0007817/0.0007817, 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.0008311/0.0008311, 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.8532/0.8532, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.21e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.001615/0.001638, allocations: 0.8385 MB / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002879, allocations: 1.201 MB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.002954, allocations: 4 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.003081, allocations: 27.72 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.003125, allocations: 15.88 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.003564, allocations: 152.5 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.003769, allocations: 167.5 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.003903, allocations: 37.5 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.004003, allocations: 83.81 kB / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.004094, allocations: 39.88 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.004119, allocations: 16 kB / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.004193, allocations: 31.92 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.004215, allocations: 11.94 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.004271, allocations: 43.89 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.00448, allocations: 183.5 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004483, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004485, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.004489, allocations: 0 / 0.9837 GB, free: 15.75 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.0004763/0.004965, allocations: 363.5 kB / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.005006, allocations: 8.031 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.005037, allocations: 42.73 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.005083, allocations: 12.89 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.005307, allocations: 168.2 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.005322, allocations: 4.375 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.00534, allocations: 12.38 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.005529, allocations: 84.75 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005536, allocations: 4.188 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005545, allocations: 384 / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00555, allocations: 4.125 kB / 0.9844 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.005603, allocations: 31.92 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.006032, allocations: 484.1 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.00609, allocations: 26.52 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.00611, allocations: 16.91 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.006119, allocations: 0 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.006221, allocations: 71.33 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.006222, allocations: 4 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001846/0.006407, allocations: 85.58 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.00644, allocations: 51.41 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.006562, allocations: 169.6 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.006579, allocations: 29.7 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.006639, allocations: 112.1 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.00665, allocations: 7.891 kB / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.006698, allocations: 37.7 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.006773, allocations: 322.8 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.006851, allocations: 65.69 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.006922, allocations: 96.19 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.208e-05/0.007004, allocations: 92.27 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.007006, allocations: 0 / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002/0.007206, allocations: 197 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.007239, allocations: 41.69 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007244, allocations: 0 / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007257, allocations: 0 / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.007309, allocations: 7.938 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.007314, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.007438, allocations: 35.92 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.007455, allocations: 12 kB / 0.9863 GB, free: 12.83 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 7.218e-05/0.007527, allocations: 121.8 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.007544, allocations: 11.95 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.007568, allocations: 9.031 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.007571, allocations: 4 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.007577, allocations: 4.062 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00758, allocations: 0 / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.348e-05/0.007674, allocations: 160.7 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007675, allocations: 0 / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.007688, allocations: 4 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00769, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.007696, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007697, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007698, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.442e-05/0.007792, allocations: 112.8 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.007807, allocations: 3.953 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.00782, allocations: 4 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.007837, allocations: 0 / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.007862, allocations: 7.984 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.007868, allocations: 8 kB / 0.9867 GB, free: 12.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.007931, allocations: 122.3 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007931, allocations: 0 / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001555/0.008087, allocations: 23.94 kB / 0.9869 GB, free: 12.17 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0003119/0.008399, allocations: 0.6469 MB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.008588, allocations: 153.1 kB / 0.9876 GB, free: 11.33 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008589, allocations: 0 / 0.9876 GB, free: 11.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.008612, allocations: 11.94 kB / 0.9877 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.008798, allocations: 24.11 kB / 0.9877 GB, free: 11.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.01008, allocations: 1.779 MB / 0.9894 GB, free: 9.391 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01013, allocations: 84.45 kB / 0.9895 GB, free: 9.289 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.01017, allocations: 8.484 kB / 0.9895 GB, free: 9.281 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.01021, allocations: 40.41 kB / 0.9895 GB, free: 9.238 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.01021, allocations: 4 kB / 0.9895 GB, free: 9.234 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.02594, allocations: 3.61 MB / 0.9931 GB, free: 5.805 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.722, allocations: 10.89 kB / 0.9931 GB, free: 5.797 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.605174488388002]