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.0008061/0.0008061, 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.0008041/0.0008041, allocations: 165.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.8409/0.8409, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.636/1.636, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.104e-06/2.104e-06, allocations: 0 / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.412e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.629 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.001389/0.001403, allocations: 0.8398 MB / 0.9818 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002525, allocations: 1.197 MB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.00259, allocations: 4 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.002718, allocations: 19.8 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.002762, allocations: 27.78 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.003143, allocations: 154.9 kB / 0.9831 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.003317, allocations: 167.6 kB / 0.9833 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003424, allocations: 29.52 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.003509, allocations: 83.81 kB / 0.9834 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.003596, allocations: 39.88 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.00362, allocations: 19.94 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.003674, allocations: 27.98 kB / 0.9835 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.003696, allocations: 11.94 kB / 0.9835 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.003762, allocations: 43.89 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.003983, allocations: 195.4 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003985, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.001e-06/0.003986, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.003992, allocations: 0 / 0.9837 GB, free: 15.77 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.0004485/0.004441, allocations: 359.5 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.004479, allocations: 8.031 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.004508, allocations: 38.75 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.004548, allocations: 16.88 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.00475, allocations: 157.6 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.004768, allocations: 12.38 kB / 0.9843 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.004785, allocations: 8.375 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.004918, allocations: 84.8 kB / 0.9844 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.004927, allocations: 192 / 0.9844 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.00494, allocations: 8.375 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.004948, allocations: 8.125 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.005002, allocations: 27.92 kB / 0.9844 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.005467, allocations: 496 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.005529, allocations: 22.58 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.005549, allocations: 12.92 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.005559, allocations: 4 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.005667, allocations: 67.33 kB / 0.985 GB, free: 14.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005668, allocations: 0 / 0.985 GB, free: 14.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.005857, allocations: 85.58 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.005892, allocations: 51.41 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.006013, allocations: 169.6 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.006032, allocations: 33.64 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.006089, allocations: 104.1 kB / 0.9854 GB, free: 13.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.006099, allocations: 11.95 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.006149, allocations: 37.69 kB / 0.9855 GB, free: 13.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.006231, allocations: 322.8 kB / 0.9858 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.006309, allocations: 69.67 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.00638, allocations: 92.19 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.006463, allocations: 84.28 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006465, allocations: 0 / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001959/0.006661, allocations: 204.9 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.006695, allocations: 33.7 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006701, allocations: 4.062 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.006715, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.006772, allocations: 15.92 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.006778, allocations: 0 / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.006901, allocations: 31.86 kB / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.006916, allocations: 8 kB / 0.9863 GB, free: 12.86 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 0.0004244/0.00734, allocations: 121.8 kB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.00735, allocations: 7.953 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.007377, allocations: 13.02 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007379, allocations: 8 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.007383, allocations: 0 / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007387, allocations: 0 / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.133e-05/0.007478, allocations: 156.7 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00748, allocations: 64 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.007493, allocations: 8 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.007494, allocations: 0 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.0075, allocations: 0 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007502, allocations: 0 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007503, allocations: 3.938 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.007589, allocations: 113.1 kB / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.007602, allocations: 11.95 kB / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007613, allocations: 0 / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.007627, allocations: 4.047 kB / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.007651, allocations: 3.984 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.007656, allocations: 7.984 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.717e-05/0.007724, allocations: 122.3 kB / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007724, allocations: 0 / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001417/0.007865, allocations: 24 kB / 0.9869 GB, free: 12.2 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.0002855/0.008151, allocations: 0.644 MB / 0.9875 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.00832, allocations: 153.1 kB / 0.9876 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008322, allocations: 0 / 0.9876 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.008345, allocations: 23.91 kB / 0.9877 GB, free: 11.33 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.008516, allocations: 15.98 kB / 0.9877 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.009819, allocations: 1.771 MB / 0.9894 GB, free: 9.418 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.009877, allocations: 92.5 kB / 0.9895 GB, free: 9.309 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.009901, allocations: 8.484 kB / 0.9895 GB, free: 9.301 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.009948, allocations: 32.5 kB / 0.9895 GB, free: 9.266 MB / 0.948 GB Notification: Performance of SimCode: time 7.02e-07/0.009949, allocations: 0 / 0.9895 GB, free: 9.266 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.02568, allocations: 3.622 MB / 0.9931 GB, free: 5.832 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/6.626, allocations: 9.797 kB / 0.9931 GB, free: 5.824 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable phNo.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.516059746034443]