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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 106.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.146/3.146, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.2 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3391, allocations: 173.9 MB / 1.304 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.00283/0.3419, allocations: 0.6617 MB / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.3422, allocations: 7.938 kB / 1.305 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.3422, allocations: 4 kB / 1.305 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3424, allocations: 3.984 kB / 1.305 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.3424, allocations: 3.938 kB / 1.305 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.3426, allocations: 8 kB / 1.305 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3427, allocations: 43.91 kB / 1.305 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3429, allocations: 27.97 kB / 1.305 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.3429, allocations: 8 kB / 1.305 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.343, allocations: 19.86 kB / 1.305 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.343, allocations: 4 kB / 1.305 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.343, allocations: 4 kB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.3431, allocations: 4 kB / 1.305 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.3431, allocations: 23.88 kB / 1.305 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3433, allocations: 55.95 kB / 1.305 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3433, allocations: 0 / 1.305 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.966e-06/0.3433, allocations: 0 / 1.305 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3433, allocations: 4 kB / 1.305 GB, free: 0.6211 MB / 0.9981 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.0005184/0.3438, allocations: 351.3 kB / 1.305 GB, free: 232 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.3439, allocations: 12.92 kB / 1.305 GB, free: 220 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.209e-05/0.3439, allocations: 30.75 kB / 1.305 GB, free: 180 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.344, allocations: 8.891 kB / 1.305 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3442, allocations: 184.3 kB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.3443, allocations: 4.312 kB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.3443, allocations: 8.375 kB / 1.305 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3445, allocations: 78.16 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3445, allocations: 7.938 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3445, allocations: 0 / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3445, allocations: 0 / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.3446, allocations: 47.97 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.3453, allocations: 495.1 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3454, allocations: 165.1 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.3455, allocations: 80.14 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.3455, allocations: 75.72 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.3456, allocations: 109.9 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3456, allocations: 7.938 kB / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.803e-05/0.3457, allocations: 33.66 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3458, allocations: 130.6 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3461, allocations: 175.3 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3461, allocations: 25.7 kB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.3461, allocations: 92.14 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.3462, allocations: 0 / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.3462, allocations: 25.67 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3464, allocations: 318.8 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.3464, allocations: 8 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.3464, allocations: 7.984 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.3465, allocations: 24.78 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3465, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001345/0.3466, allocations: 45.69 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3466, allocations: 8 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3466, allocations: 96 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3467, allocations: 4 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.3467, allocations: 3.938 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3467, allocations: 4 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.3468, allocations: 11.89 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3468, allocations: 0 / 1.307 GB, free: 13.85 MB / 1.014 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.0001659/0.3469, allocations: 193.1 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.347, allocations: 116.9 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.3471, allocations: 116.8 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.431e-05/0.3472, allocations: 180.2 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-05/0.3473, allocations: 184.2 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-05/0.3474, allocations: 180.3 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3477, allocations: 421.1 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.559e-05/0.3478, allocations: 101 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.3478, allocations: 116.9 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.494e-05/0.3479, allocations: 184.2 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.348, allocations: 176.3 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001021/0.3481, allocations: 188.1 kB / 1.309 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.803e-05/0.3482, allocations: 180.3 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3484, allocations: 307.8 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3485, allocations: 194 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3487, allocations: 184.1 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3488, allocations: 109.2 kB / 1.31 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3489, allocations: 192.2 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.349, allocations: 101 kB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001197/0.3491, allocations: 129.1 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3491, allocations: 0 / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002336/0.3493, allocations: 12 kB / 1.311 GB, free: 10.14 MB / 1.014 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.0006712/0.35, allocations: 0.8165 MB / 1.312 GB, free: 9.293 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.3501, allocations: 11.98 kB / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3501, allocations: 0 / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.3501, allocations: 0 / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.3508, allocations: 463.6 kB / 1.312 GB, free: 8.824 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3524, allocations: 1.6 MB / 1.314 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3527, allocations: 0.6964 MB / 1.314 GB, free: 6.422 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.3528, allocations: 7.938 kB / 1.314 GB, free: 6.414 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3528, allocations: 15.44 kB / 1.314 GB, free: 6.398 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.3528, allocations: 0 / 1.314 GB, free: 6.398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.3778, allocations: 1.642 MB / 1.316 GB, free: 4.852 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.596, allocations: 0 / 1.316 GB, free: 4.852 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.263671366963536]