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.0007917/0.0007917, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007456/0.0007456, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8876/0.8876, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.761/1.761, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="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 3.747e-06/3.747e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.266e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001218/0.001241, allocations: 0.6445 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.001433, allocations: 23.91 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.001483, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.001603, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.00165, allocations: 3.938 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.001765, allocations: 7.938 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.001902, allocations: 43.84 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.002035, allocations: 27.97 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.002073, allocations: 15.98 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.002108, allocations: 11.98 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.002139, allocations: 4 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.002154, allocations: 4 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.002189, allocations: 11.94 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.002218, allocations: 11.92 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.902e-05/0.002307, allocations: 43.88 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002308, allocations: 0 / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002309, allocations: 3.938 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.002312, allocations: 0 / 1.001 GB, free: 12.58 MB / 0.9636 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.0002822/0.002594, allocations: 278.2 kB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.002638, allocations: 12.75 kB / 1.001 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.002672, allocations: 34.75 kB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.002697, allocations: 8.938 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.002832, allocations: 129.7 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.002841, allocations: 384 / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.002851, allocations: 8.375 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.00299, allocations: 78.22 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.002998, allocations: 192 / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.003005, allocations: 384 / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.003011, allocations: 4.125 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.003068, allocations: 47.97 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.00347, allocations: 458.2 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.003542, allocations: 169.1 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.00357, allocations: 88.08 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.00359, allocations: 79.28 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.003624, allocations: 105.8 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.003624, allocations: 0 / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.432e-05/0.003679, allocations: 33.66 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.003728, allocations: 130.7 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.003851, allocations: 172.1 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.003859, allocations: 25.7 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.00391, allocations: 96.09 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.003912, allocations: 0 / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.003942, allocations: 17.7 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.004022, allocations: 326.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.004035, allocations: 11.92 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.004046, allocations: 8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.004078, allocations: 12.84 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.00408, allocations: 7.938 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.069e-05/0.00417, allocations: 49.69 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004181, allocations: 4 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.004186, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.004198, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.004249, allocations: 12.08 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.004253, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.004273, allocations: 15.83 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.004281, allocations: 3.938 kB / 1.003 GB, free: 10 MB / 0.9636 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 8.04e-05/0.004361, allocations: 197.1 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.004399, allocations: 108.9 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.004434, allocations: 112.8 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.99e-05/0.004474, allocations: 180.2 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.412e-05/0.004518, allocations: 185 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/0.004559, allocations: 180.2 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.004707, allocations: 392.4 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/0.004734, allocations: 112.9 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.004758, allocations: 108.9 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.795e-05/0.004796, allocations: 176.3 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.004842, allocations: 184.4 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.965e-05/0.004882, allocations: 180.3 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-05/0.004922, allocations: 176.3 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/0.005016, allocations: 319.6 kB / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.005054, allocations: 108.9 kB / 1.005 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.005101, allocations: 180.3 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.00515, allocations: 109 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.005193, allocations: 184.2 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.005215, allocations: 105 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.501e-05/0.00528, allocations: 135.2 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005281, allocations: 0 / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001334/0.005414, allocations: 4 kB / 1.006 GB, free: 6.438 MB / 0.9636 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.0002464/0.00566, allocations: 0.8048 MB / 1.007 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.828e-05/0.005719, allocations: 12 kB / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00572, allocations: 0 / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005721, allocations: 64 / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.006009, allocations: 477.9 kB / 1.007 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008638/0.006873, allocations: 1.612 MB / 1.009 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.006919, allocations: 71.33 kB / 1.009 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.006939, allocations: 7.984 kB / 1.009 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.006976, allocations: 20.5 kB / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/0.006976, allocations: 0 / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.02038, allocations: 2.298 MB / 1.011 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/6.461, allocations: 12.38 kB / 1.011 GB, free: 1.133 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.476525452919304]