Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001465/0.001465, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001575/0.001575, allocations: 215.3 kB / 22.25 MB, free: 5.105 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.797 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.227/3.227, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",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.002012/0.002012, allocations: 64.11 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001977/0.3545, allocations: 0.6548 MB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001703/0.3546, allocations: 11.98 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.3547, allocations: 0 / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.65e-05/0.3548, allocations: 7.922 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.3548, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.468e-05/0.3549, allocations: 8 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.355, allocations: 43.91 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3551, allocations: 19.98 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.727e-05/0.3552, allocations: 7.938 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.3552, allocations: 15.92 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3552, allocations: 4 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.3552, allocations: 4 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.3553, allocations: 15.86 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3553, allocations: 15.94 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3554, allocations: 48.03 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3554, allocations: 7.938 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3555, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3555, allocations: 0 / 1.327 GB, free: 0.5938 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.0003575/0.3558, allocations: 282.1 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3559, allocations: 12.03 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.3559, allocations: 34.75 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.3559, allocations: 4.938 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3561, allocations: 126.5 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3561, allocations: 8.375 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3561, allocations: 4.359 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3563, allocations: 78.22 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3563, allocations: 7.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3563, allocations: 7.938 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.3563, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.3564, allocations: 43.97 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.3569, allocations: 450.7 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.357, allocations: 173.2 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.3571, allocations: 80.25 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.3571, allocations: 79.22 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.3572, allocations: 105.8 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3572, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.447e-05/0.3573, allocations: 45.58 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.3573, allocations: 134.6 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3575, allocations: 167.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3576, allocations: 25.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.3576, allocations: 96.09 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.3576, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.3577, allocations: 17.7 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3578, allocations: 318.8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.3578, allocations: 7.984 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.3578, allocations: 4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.3579, allocations: 20.91 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3579, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001244/0.358, allocations: 57.58 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.358, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.358, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.358, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.3581, allocations: 11.92 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3581, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.3581, allocations: 11.88 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3581, allocations: 4 kB / 1.329 GB, free: 14.01 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: 0 () * 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.0001218/0.3583, allocations: 197.7 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.3583, allocations: 108.9 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.3584, allocations: 112.7 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.613e-05/0.3585, allocations: 184.2 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-05/0.3586, allocations: 188.2 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.88e-05/0.3587, allocations: 176.3 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.3589, allocations: 380.3 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-05/0.359, allocations: 112.9 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.3591, allocations: 101 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.317e-05/0.3591, allocations: 184.2 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.398e-05/0.3592, allocations: 184.3 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.64e-05/0.3593, allocations: 184.1 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.846e-05/0.3594, allocations: 176.3 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.3596, allocations: 323.6 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.3596, allocations: 109 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3597, allocations: 188.2 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.3598, allocations: 105.2 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.3599, allocations: 184.3 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.36, allocations: 105 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3601, allocations: 137 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3601, allocations: 0 / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002259/0.3603, allocations: 8 kB / 1.332 GB, free: 10.43 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.0005372/0.3609, allocations: 0.8087 MB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.361, allocations: 15.94 kB / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.361, allocations: 0 / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-06/0.361, allocations: 4 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.3616, allocations: 473.4 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3632, allocations: 1.588 MB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.38e-05/0.3633, allocations: 83.39 kB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.3633, allocations: 7.984 kB / 1.335 GB, free: 7.336 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.3633, allocations: 15.44 kB / 1.335 GB, free: 7.32 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.3633, allocations: 0 / 1.335 GB, free: 7.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3926, allocations: 2.163 MB / 1.337 GB, free: 5.281 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 10.77 kB / 1.337 GB, free: 5.277 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_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_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable con[1].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[1].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[2].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[2].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[3].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[3].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[4].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[4].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[5].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[5].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.55068827199284]