Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.000759/0.000759, 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.0008034/0.0008034, 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.8825/0.8825, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.676/1.676, allocations: 377.9 MB / 0.6221 GB, free: 8.672 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.MultiMinInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.939e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001209/0.001229, allocations: 0.6219 MB / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.001358, allocations: 15.92 kB / 0.9816 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.001404, allocations: 0 / 0.9816 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.04e-05/0.001485, allocations: 0 / 0.9816 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.113e-05/0.001516, allocations: 3.938 kB / 0.9816 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.37e-05/0.00158, allocations: 4 kB / 0.9816 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.001654, allocations: 23.92 kB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.001765, allocations: 19.92 kB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.001801, allocations: 27.91 kB / 0.9816 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.602e-05/0.001827, allocations: 7.984 kB / 0.9816 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.001846, allocations: 8 kB / 0.9817 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.001855, allocations: 4 kB / 0.9817 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.001884, allocations: 11.94 kB / 0.9817 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.001912, allocations: 15.97 kB / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.081e-05/0.001993, allocations: 43.88 kB / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.001995, allocations: 0 / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.183e-06/0.001996, allocations: 0 / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002, allocations: 0 / 0.9817 GB, free: 1.809 MB / 0.9323 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.0002431/0.002243, allocations: 266.2 kB / 0.982 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.002278, allocations: 12.03 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.002306, allocations: 38.73 kB / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.096e-05/0.002327, allocations: 16.89 kB / 0.982 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.002474, allocations: 117.7 kB / 0.9822 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002484, allocations: 8.375 kB / 0.9822 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.002493, allocations: 4.375 kB / 0.9822 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.002614, allocations: 82.09 kB / 0.9822 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.00262, allocations: 192 / 0.9822 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-06/0.002628, allocations: 4.375 kB / 0.9823 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.002634, allocations: 8.125 kB / 0.9823 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.18e-05/0.002686, allocations: 43.97 kB / 0.9823 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.003039, allocations: 454.2 kB / 0.9827 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.003101, allocations: 177.1 kB / 0.9829 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.003123, allocations: 88.12 kB / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.003139, allocations: 79.22 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.003171, allocations: 109.8 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.003172, allocations: 0 / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 5.16e-05/0.003224, allocations: 25.7 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.003265, allocations: 130.7 kB / 0.9833 GB, free: 20 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.003399, allocations: 176.6 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.003406, allocations: 29.64 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.003452, allocations: 96.12 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.003454, allocations: 0 / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.003479, allocations: 17.72 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.003551, allocations: 318.8 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.003563, allocations: 7.984 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.003576, allocations: 15.98 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.003605, allocations: 8.859 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.003607, allocations: 0 / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.131e-05/0.003699, allocations: 53.64 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.003712, allocations: 8.094 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.003716, allocations: 3.938 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.003726, allocations: 4.094 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.00378, allocations: 7.938 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.003784, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.003805, allocations: 11.88 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.003814, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001334/0.003948, allocations: 197.1 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.003983, allocations: 108.9 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.004015, allocations: 112.8 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.00405, allocations: 184.2 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-05/0.004088, allocations: 176.3 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-05/0.004127, allocations: 188.2 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.004268, allocations: 392.3 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/0.004292, allocations: 108.9 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.004315, allocations: 105.1 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.614e-05/0.004352, allocations: 176.3 kB / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.004391, allocations: 184.2 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.84e-05/0.00443, allocations: 184.3 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-05/0.004466, allocations: 184.2 kB / 0.9862 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.004554, allocations: 311.7 kB / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.004587, allocations: 108.9 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.004632, allocations: 180.2 kB / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.004684, allocations: 116.9 kB / 0.9869 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.004726, allocations: 176.3 kB / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.004753, allocations: 101 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.487e-05/0.004827, allocations: 139.1 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004827, allocations: 4 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001489/0.004976, allocations: 4 kB / 0.9873 GB, free: 11.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000287/0.005263, allocations: 0.8131 MB / 0.9881 GB, free: 10.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.005329, allocations: 8 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.005331, allocations: 64 / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.005334, allocations: 7.938 kB / 0.9881 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.005632, allocations: 466 kB / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.006434, allocations: 1.494 MB / 0.99 GB, free: 8.777 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.543e-05/0.006479, allocations: 67.34 kB / 0.9901 GB, free: 8.691 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.006501, allocations: 7.984 kB / 0.9901 GB, free: 8.684 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.006537, allocations: 16.5 kB / 0.9901 GB, free: 8.668 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.006538, allocations: 0 / 0.9901 GB, free: 8.668 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.01949, allocations: 2.242 MB / 0.9923 GB, free: 6.578 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.645, allocations: 10.44 kB / 0.9923 GB, free: 6.57 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.458801702596247]