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.001487/0.001487, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001563/0.001563, allocations: 215 kB / 20.13 MB, free: 2.949 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.939/2.939, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_12_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.001952/0.001952, allocations: 75.89 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9342/0.9361, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001911/0.938, allocations: 0.661 MB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002022/0.9382, allocations: 8.359 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.9383, allocations: 0 / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.9384, allocations: 7.219 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.9384, allocations: 3.094 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.9386, allocations: 4 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.9387, allocations: 48.47 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.9388, allocations: 24.3 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.387e-05/0.9388, allocations: 12.33 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.9389, allocations: 20.38 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.9389, allocations: 2.625 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.9389, allocations: 2.656 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.9389, allocations: 6.375 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.9389, allocations: 21.25 kB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.534e-05/0.939, allocations: 52.55 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.939, allocations: 4 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.414e-06/0.939, allocations: 3.938 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.9391, allocations: 0 / 1.322 GB, free: 24.25 MB / 1.061 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.0003203/0.9394, allocations: 349.8 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.9394, allocations: 18.39 kB / 1.323 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.323e-05/0.9394, allocations: 3.094 kB / 1.323 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.106e-05/0.9394, allocations: 34.75 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.9395, allocations: 11.05 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.9396, allocations: 187.8 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.9396, allocations: 3 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.9396, allocations: 3.125 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.9398, allocations: 80.91 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9398, allocations: 3.938 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.9398, allocations: 2.906 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.9398, allocations: 0 / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.9399, allocations: 48.45 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.9402, allocations: 487.7 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.13e-05/0.9403, allocations: 171.7 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.9403, allocations: 80.14 kB / 1.324 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.9403, allocations: 75.28 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.9403, allocations: 106 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9403, allocations: 7.938 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.622e-05/0.9404, allocations: 39.7 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.9404, allocations: 133.1 kB / 1.324 GB, free: 22.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.9406, allocations: 167.5 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.9406, allocations: 28.27 kB / 1.324 GB, free: 22.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.9406, allocations: 105.5 kB / 1.324 GB, free: 22.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.9406, allocations: 0 / 1.324 GB, free: 22.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.9406, allocations: 12.47 kB / 1.324 GB, free: 22.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.9407, allocations: 325.1 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.9407, allocations: 10.08 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.9407, allocations: 5.312 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.9407, allocations: 13.97 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.9407, allocations: 0 / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001033/0.9408, allocations: 62.27 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.9409, allocations: 3.062 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.9409, allocations: 3 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9409, allocations: 7.938 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.9409, allocations: 2.844 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.9409, allocations: 0 / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.9409, allocations: 6.406 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.941, allocations: 2.969 kB / 1.325 GB, free: 21.8 MB / 1.061 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 5.835e-05/0.941, allocations: 194.5 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.9411, allocations: 112.1 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.9411, allocations: 123.8 kB / 1.325 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.9411, allocations: 180.2 kB / 1.325 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/0.9411, allocations: 186.4 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/0.9412, allocations: 176.3 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.9413, allocations: 423.1 kB / 1.326 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.9413, allocations: 105 kB / 1.326 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.9413, allocations: 101 kB / 1.326 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.79e-05/0.9414, allocations: 184.7 kB / 1.327 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.9414, allocations: 183.4 kB / 1.327 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/0.9414, allocations: 187 kB / 1.327 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.617e-05/0.9414, allocations: 176.3 kB / 1.327 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.9415, allocations: 316.7 kB / 1.327 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.9416, allocations: 181.1 kB / 1.328 GB, free: 18.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.9416, allocations: 190.3 kB / 1.328 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.9417, allocations: 108.9 kB / 1.328 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.9417, allocations: 180.3 kB / 1.328 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.9417, allocations: 108.1 kB / 1.328 GB, free: 18.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.973e-05/0.9418, allocations: 135.8 kB / 1.328 GB, free: 18.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9418, allocations: 0 / 1.328 GB, free: 18.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002165/0.942, allocations: 3.062 kB / 1.328 GB, free: 18.21 MB / 1.061 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.0002446/0.9422, allocations: 0.8143 MB / 1.329 GB, free: 17.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.9423, allocations: 12.78 kB / 1.329 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9423, allocations: 3.938 kB / 1.329 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.9423, allocations: 0 / 1.329 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.9426, allocations: 467.5 kB / 1.33 GB, free: 16.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.9436, allocations: 1.613 MB / 1.331 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.9437, allocations: 0.6874 MB / 1.332 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.9437, allocations: 13.31 kB / 1.332 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.9438, allocations: 15.44 kB / 1.332 GB, free: 14.82 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.9438, allocations: 2.531 kB / 1.332 GB, free: 14.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.9614, allocations: 1.672 MB / 1.333 GB, free: 14.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/9.758, allocations: 10.73 kB / 1.333 GB, free: 14.41 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.436861797992606]