Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001777/0.001777, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002448/0.002448, allocations: 219 kB / 23.03 MB, free: 4.922 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.256/3.256, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="cs",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.002249/0.002249, allocations: 62.73 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3698, allocations: 179 MB / 1.345 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002208/0.3721, allocations: 0.6594 MB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001795/0.3722, allocations: 4 kB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.3723, allocations: 4 kB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3724, allocations: 7.922 kB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.3724, allocations: 0 / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.44e-05/0.3725, allocations: 4 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3726, allocations: 47.84 kB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3727, allocations: 15.92 kB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.3728, allocations: 19.92 kB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.3728, allocations: 15.92 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3728, allocations: 4 kB / 1.346 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.3728, allocations: 4 kB / 1.346 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.3729, allocations: 8 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.3729, allocations: 19.88 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.373, allocations: 59.95 kB / 1.346 GB, free: 14.97 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.373, allocations: 0 / 1.346 GB, free: 14.97 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.293e-06/0.373, allocations: 0 / 1.346 GB, free: 14.97 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.373, allocations: 0 / 1.346 GB, free: 14.97 MB / 1.045 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.0003714/0.3734, allocations: 278.2 kB / 1.346 GB, free: 14.67 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3734, allocations: 12.03 kB / 1.346 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.299e-05/0.3735, allocations: 192 / 1.346 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.3735, allocations: 38.75 kB / 1.346 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.3735, allocations: 8.891 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3737, allocations: 114.5 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3737, allocations: 8.375 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3737, allocations: 4.375 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3739, allocations: 86.25 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3739, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3739, allocations: 4 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3739, allocations: 4 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.374, allocations: 43.97 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.3745, allocations: 458.2 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3747, allocations: 173.1 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.3747, allocations: 80.14 kB / 1.347 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.3748, allocations: 75.28 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.3748, allocations: 109.8 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3748, allocations: 0 / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.301e-05/0.3749, allocations: 41.58 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.375, allocations: 134.6 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3752, allocations: 171.4 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3752, allocations: 29.7 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.3753, allocations: 92.12 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.3753, allocations: 4 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.3753, allocations: 13.72 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3755, allocations: 318.8 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.3755, allocations: 7.984 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/0.3755, allocations: 4 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.3756, allocations: 16.84 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3756, allocations: 4 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.3757, allocations: 57.52 kB / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3757, allocations: 4.109 kB / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3757, allocations: 8.031 kB / 1.348 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3757, allocations: 11.92 kB / 1.348 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.3758, allocations: 4 kB / 1.348 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3758, allocations: 0 / 1.348 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.3758, allocations: 7.938 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3758, allocations: 4 kB / 1.349 GB, free: 12.39 MB / 1.045 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.0001241/0.3759, allocations: 193.1 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.376, allocations: 112.9 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.3761, allocations: 112.6 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-05/0.3762, allocations: 188.2 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-05/0.3763, allocations: 184.2 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.265e-05/0.3763, allocations: 180.3 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.3767, allocations: 388.2 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001662/0.3768, allocations: 105 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.3769, allocations: 101 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.377e-05/0.3769, allocations: 188.2 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.3771, allocations: 176.3 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.794e-05/0.3772, allocations: 184.1 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.54e-05/0.3773, allocations: 180.3 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3775, allocations: 316 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.3776, allocations: 112.9 kB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/0.3776, allocations: 196.2 kB / 1.351 GB, free: 9.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.3777, allocations: 104.9 kB / 1.351 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3778, allocations: 184.3 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.3779, allocations: 104.9 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000111/0.378, allocations: 129 kB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.378, allocations: 0 / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002587/0.3783, allocations: 12 kB / 1.352 GB, free: 8.809 MB / 1.045 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.0005151/0.3788, allocations: 0.7971 MB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.3789, allocations: 11.94 kB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3789, allocations: 4.062 kB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.3789, allocations: 0 / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3794, allocations: 475.6 kB / 1.353 GB, free: 7.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3812, allocations: 1.592 MB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.528e-05/0.3813, allocations: 77.86 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.3813, allocations: 15.92 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3813, allocations: 11.44 kB / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3813, allocations: 0 / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.4043, allocations: 1.805 MB / 1.356 GB, free: 4.059 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 3.422 kB / 1.356 GB, free: 4.059 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 18.929489896050654]