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.0013/0.0013, allocations: 103.4 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001403/0.001403, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 70.86 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 176.1 MB / 1.321 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.002194/0.3244, allocations: 0.6208 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.3246, allocations: 11.94 kB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.3247, allocations: 0 / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.3248, allocations: 0 / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.3248, allocations: 4 kB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.418e-05/0.3249, allocations: 4 kB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.325, allocations: 27.91 kB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3252, allocations: 28.27 kB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.3252, allocations: 15.92 kB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.3253, allocations: 15.88 kB / 1.322 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3253, allocations: 0 / 1.322 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.3253, allocations: 4 kB / 1.322 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.3253, allocations: 15.92 kB / 1.322 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.3254, allocations: 23.88 kB / 1.322 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3255, allocations: 43.8 kB / 1.322 GB, free: 2.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3255, allocations: 8 kB / 1.322 GB, free: 2.652 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3255, allocations: 3.938 kB / 1.322 GB, free: 2.648 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3255, allocations: 3.938 kB / 1.322 GB, free: 2.645 MB / 1.014 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.0004612/0.326, allocations: 347.3 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.326, allocations: 15.98 kB / 1.322 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.3261, allocations: 34.75 kB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3261, allocations: 4.938 kB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.3264, allocations: 184.3 kB / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3264, allocations: 384 / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3265, allocations: 4.375 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3266, allocations: 82.22 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3266, allocations: 3.938 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3267, allocations: 0 / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3267, allocations: 0 / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.3268, allocations: 51.91 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.3273, allocations: 491.1 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.3274, allocations: 173.5 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.3275, allocations: 80.14 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3275, allocations: 75.28 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.3275, allocations: 105.9 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3275, allocations: 4 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.467e-05/0.3276, allocations: 41.59 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.3277, allocations: 130.6 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3279, allocations: 172.1 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3279, allocations: 25.7 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.3279, allocations: 92.12 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.3279, allocations: 4 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.328, allocations: 9.719 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3281, allocations: 326.8 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.3281, allocations: 4 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.3282, allocations: 11.98 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.3282, allocations: 8.859 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3282, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001261/0.3283, allocations: 61.56 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3283, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3283, allocations: 8.031 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3284, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.3284, allocations: 11.94 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3284, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.3285, allocations: 11.89 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3285, allocations: 4 kB / 1.324 GB, free: 15.88 MB / 1.029 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.0001143/0.3286, allocations: 193.1 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.3287, allocations: 105 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.3287, allocations: 124.8 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/0.3288, allocations: 180.2 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.45e-05/0.3289, allocations: 180.2 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.228e-05/0.3289, allocations: 180.3 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.3292, allocations: 417.2 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.3293, allocations: 108.9 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.3293, allocations: 105 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.611e-05/0.3294, allocations: 180.3 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.3295, allocations: 184.2 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.347e-05/0.3296, allocations: 180.2 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.984e-05/0.3297, allocations: 184.2 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3298, allocations: 319.7 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3299, allocations: 190 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.33, allocations: 184.5 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3301, allocations: 108.9 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.3302, allocations: 184.3 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.3303, allocations: 108.9 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001274/0.3304, allocations: 131.2 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3304, allocations: 0 / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002723/0.3307, allocations: 4 kB / 1.327 GB, free: 12.17 MB / 1.029 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.0005019/0.3312, allocations: 0.8146 MB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.3313, allocations: 7.938 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3313, allocations: 0 / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.3313, allocations: 0 / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.3317, allocations: 467.5 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.333, allocations: 1.483 MB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3333, allocations: 0.6883 MB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.3334, allocations: 4 kB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.3334, allocations: 19.42 kB / 1.331 GB, free: 8.562 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/0.3334, allocations: 3.938 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.3592, allocations: 1.595 MB / 1.332 GB, free: 7.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.429, allocations: 6.406 kB / 1.332 GB, free: 7.105 MB / 1.029 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/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: 15.160566853126511]