Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007504/0.0007504, 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.0008327/0.0008327, allocations: 169.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.8992/0.8992, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.9506 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.531e-05, allocations: 9.031 kB / 0.9506 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001232/0.001257, allocations: 0.651 MB / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.001428, allocations: 11.94 kB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.001471, allocations: 3.938 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.001578, allocations: 11.98 kB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.001632, allocations: 0 / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.001733, allocations: 0 / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.00184, allocations: 47.83 kB / 0.9513 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.001947, allocations: 27.92 kB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.00198, allocations: 15.98 kB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.002008, allocations: 11.94 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.00203, allocations: 4 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.002039, allocations: 4 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.002068, allocations: 15.97 kB / 0.9514 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.002091, allocations: 7.938 kB / 0.9514 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.193e-05/0.002183, allocations: 47.8 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002185, allocations: 4 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002186, allocations: 0 / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00219, allocations: 0 / 0.9514 GB, free: 2.582 MB / 0.9011 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.0002581/0.002448, allocations: 274.2 kB / 0.9517 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.002486, allocations: 12.03 kB / 0.9517 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.002515, allocations: 34.75 kB / 0.9517 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.002536, allocations: 8.891 kB / 0.9517 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.002662, allocations: 125.7 kB / 0.9519 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.002672, allocations: 4.375 kB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.002681, allocations: 4.375 kB / 0.9519 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.002808, allocations: 78.17 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.002815, allocations: 192 / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.002826, allocations: 8.344 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.002831, allocations: 12.12 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.002885, allocations: 47.97 kB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.003255, allocations: 450.2 kB / 0.9524 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.003314, allocations: 169.1 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.003338, allocations: 84.08 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.003355, allocations: 75.28 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.003391, allocations: 113.8 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.003392, allocations: 0 / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.684e-05/0.003449, allocations: 29.66 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.003495, allocations: 130.7 kB / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.003649, allocations: 176.2 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.00366, allocations: 29.7 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.003711, allocations: 92.14 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.003715, allocations: 0 / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.003737, allocations: 13.72 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.003822, allocations: 326.8 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.003838, allocations: 7.984 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.003848, allocations: 7.938 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.003882, allocations: 16.84 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.003884, allocations: 0 / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001034/0.003987, allocations: 57.7 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.003999, allocations: 7.938 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.004005, allocations: 112 / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.004016, allocations: 7.938 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.00407, allocations: 4 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.004074, allocations: 0 / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.004093, allocations: 11.92 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.004103, allocations: 4 kB / 0.9537 GB, free: 8 kB / 0.9011 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.0002495/0.004352, allocations: 197 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.004392, allocations: 112.9 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.004428, allocations: 112.8 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.927e-05/0.004477, allocations: 184.2 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.18e-05/0.004519, allocations: 180.3 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/0.004562, allocations: 184.8 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.004732, allocations: 388.3 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/0.00476, allocations: 105 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.004785, allocations: 108.9 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.275e-05/0.004828, allocations: 184.2 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.004874, allocations: 180.4 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.993e-05/0.004914, allocations: 180.3 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.261e-05/0.004957, allocations: 180.3 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.005057, allocations: 319.6 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.005095, allocations: 112.9 kB / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.005146, allocations: 180.3 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.005196, allocations: 101 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.005241, allocations: 192.2 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.005262, allocations: 101 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.005325, allocations: 133.2 kB / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005326, allocations: 0 / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001465/0.005472, allocations: 8 kB / 0.957 GB, free: 12.44 MB / 0.9167 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.0002436/0.005716, allocations: 0.8087 MB / 0.9578 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.745e-05/0.005773, allocations: 11.98 kB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.005775, allocations: 4 kB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.005776, allocations: 0 / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.00607, allocations: 459.7 kB / 0.9583 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009576/0.007027, allocations: 1.609 MB / 0.9598 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.007079, allocations: 75.33 kB / 0.9599 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.007101, allocations: 7.984 kB / 0.9599 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.007137, allocations: 20.56 kB / 0.9599 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.007138, allocations: 0 / 0.9599 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.02446, allocations: 2.294 MB / 0.9622 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/6.68, allocations: 6.25 kB / 0.9622 GB, free: 7.16 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.732513033784926]