Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.001956/0.001956, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002131/0.002131, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.364/1.364, allocations: 230.6 MB / 252.8 MB, free: 9.133 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 3.059/3.059, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",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.001948/0.001948, allocations: 71.41 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3239, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.123/1.447, allocations: 318.8 MB / 1.632 GB, free: 3.832 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02638/1.474, allocations: 18.49 MB / 1.65 GB, free: 3.75 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005329/1.479, allocations: 116.4 kB / 1.65 GB, free: 3.75 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006163/1.485, allocations: 2.262 MB / 1.652 GB, free: 3.711 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01954/1.505, allocations: 7.539 MB / 1.66 GB, free: 3.422 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009329/1.514, allocations: 3.262 MB / 1.663 GB, free: 3.336 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01322/1.527, allocations: 9.105 MB / 1.672 GB, free: 3.32 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005032/1.532, allocations: 2.629 MB / 1.674 GB, free: 19.11 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008911/1.541, allocations: 3.747 MB / 1.678 GB, free: 19.11 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007493/1.549, allocations: 3.387 MB / 1.681 GB, free: 19.05 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001661/1.55, allocations: 402.6 kB / 1.682 GB, free: 19.05 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/1.567, allocations: 7.411 MB / 1.689 GB, free: 18.98 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003175/1.57, allocations: 1.683 MB / 1.691 GB, free: 18.79 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.005752/1.576, allocations: 2.29 MB / 1.693 GB, free: 18.21 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0187/1.595, allocations: 8.194 MB / 1.701 GB, free: 17.27 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.595, allocations: 0 / 1.701 GB, free: 17.27 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.623e-06/1.595, allocations: 2.531 kB / 1.701 GB, free: 17.27 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001734/1.595, allocations: 2.938 kB / 1.701 GB, free: 17.27 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01419/1.609, allocations: 5.041 MB / 1.706 GB, free: 15.23 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.609, allocations: 13.7 kB / 1.706 GB, free: 15.23 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006523/1.61, allocations: 479.6 kB / 1.706 GB, free: 15.17 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006755/1.617, allocations: 1.022 MB / 1.707 GB, free: 14.93 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/1.621, allocations: 2.199 MB / 1.709 GB, free: 14.34 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/1.621, allocations: 242.9 kB / 1.71 GB, free: 14.33 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005719/1.622, allocations: 327.6 kB / 1.71 GB, free: 14.33 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007398/1.629, allocations: 4.401 MB / 1.714 GB, free: 14.04 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-05/1.629, allocations: 11.28 kB / 1.714 GB, free: 14.03 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/1.63, allocations: 133.4 kB / 1.714 GB, free: 14.03 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/1.63, allocations: 212.7 kB / 1.715 GB, free: 14.02 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007943/1.638, allocations: 5.052 MB / 1.72 GB, free: 13.99 MB / 1.311 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02308/1.661, allocations: 15.08 MB / 1.734 GB, free: 4.895 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/1.667, allocations: 4.262 MB / 1.738 GB, free: 2.566 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/1.67, allocations: 2.249 MB / 1.741 GB, free: 1.457 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/1.672, allocations: 1.601 MB / 1.742 GB, free: 15.7 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/1.672, allocations: 82.7 kB / 1.742 GB, free: 15.62 MB / 1.326 GB Notification: Performance of pre-optimization done (n=392): time 5.39e-06/1.672, allocations: 0 / 1.742 GB, free: 15.62 MB / 1.326 GB Notification: Performance of matching and sorting (n=392): time 0.009371/1.682, allocations: 5.553 MB / 1.748 GB, free: 12.92 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/1.682, allocations: 90.98 kB / 1.748 GB, free: 12.86 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/1.684, allocations: 1.715 MB / 1.75 GB, free: 11.91 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0003175/1.685, allocations: 96.61 kB / 1.75 GB, free: 11.82 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.686, allocations: 1.244 MB / 1.751 GB, free: 10.73 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.687, allocations: 1.391 MB / 1.752 GB, free: 9.516 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/1.688, allocations: 0.6171 MB / 1.753 GB, free: 9.18 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.688, allocations: 301.1 kB / 1.753 GB, free: 8.883 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/1.691, allocations: 1.664 MB / 1.755 GB, free: 8.047 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/1.694, allocations: 2.039 MB / 1.757 GB, free: 6.895 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006085/1.7, allocations: 3.923 MB / 1.761 GB, free: 3.84 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.7, allocations: 0 / 1.761 GB, free: 3.84 MB / 1.326 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008155/1.708, allocations: 4.458 MB / 1.765 GB, free: 15.4 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/1.708, allocations: 8 kB / 1.765 GB, free: 15.39 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/1.708, allocations: 4 kB / 1.765 GB, free: 15.39 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.487e-05/1.708, allocations: 24.66 kB / 1.765 GB, free: 15.36 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/1.712, allocations: 0.7594 MB / 1.766 GB, free: 14.65 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.492e-05/1.712, allocations: 26.52 kB / 1.766 GB, free: 14.62 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/1.716, allocations: 301.6 kB / 1.766 GB, free: 14.33 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/1.717, allocations: 128 kB / 1.766 GB, free: 14.2 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (472): * Single equations (assignments): 472 * 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.002236/1.719, allocations: 0.8122 MB / 1.767 GB, free: 13.43 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009411/1.72, allocations: 306.1 kB / 1.767 GB, free: 13.12 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00821/1.728, allocations: 4.429 MB / 1.771 GB, free: 8.664 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/1.728, allocations: 40 kB / 1.772 GB, free: 8.625 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.728, allocations: 0 / 1.772 GB, free: 8.625 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006198/1.734, allocations: 3.792 MB / 1.775 GB, free: 4.766 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.75, allocations: 8.652 MB / 1.784 GB, free: 12.07 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.75, allocations: 7.938 kB / 1.784 GB, free: 12.06 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003481/1.753, allocations: 0.7192 MB / 1.784 GB, free: 11.38 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-05/1.753, allocations: 19.98 kB / 1.784 GB, free: 11.36 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/1.754, allocations: 83.98 kB / 1.784 GB, free: 11.27 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/1.754, allocations: 18.91 kB / 1.784 GB, free: 11.26 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.754, allocations: 0 / 1.784 GB, free: 11.26 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.765, allocations: 6.592 MB / 1.791 GB, free: 4.574 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/1.767, allocations: 0.8106 MB / 1.792 GB, free: 3.742 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005247/1.767, allocations: 75.98 kB / 1.792 GB, free: 3.668 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.769, allocations: 81.86 kB / 1.792 GB, free: 3.59 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/1.77, allocations: 241.7 kB / 1.792 GB, free: 3.355 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/1.77, allocations: 116 kB / 1.792 GB, free: 3.242 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001844/1.772, allocations: 1.157 MB / 1.793 GB, free: 2.062 MB / 1.357 GB Notification: Performance of sort global known variables: time 8e-08/1.772, allocations: 0 / 1.793 GB, free: 2.062 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.003448/1.775, allocations: 1.268 MB / 1.795 GB, free: 0.793 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.01171/1.787, allocations: 7.489 MB / 1.802 GB, free: 9.262 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.007325/1.795, allocations: 3.861 MB / 1.806 GB, free: 5.445 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.795, allocations: 0 / 1.806 GB, free: 5.445 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003403/1.798, allocations: 1.99 MB / 1.808 GB, free: 3.535 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008208/1.806, allocations: 1.595 MB / 1.809 GB, free: 1.965 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0483/1.854, allocations: 26.1 MB / 1.835 GB, free: 7.613 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00234/1.857, allocations: 2.209 MB / 1.837 GB, free: 5.367 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.004571/1.861, allocations: 1.268 MB / 1.838 GB, free: 4.094 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003042/1.864, allocations: 1.39 MB / 1.839 GB, free: 2.703 MB / 1.404 GB Notification: Performance of SimCode: time 1.663e-06/1.864, allocations: 0 / 1.839 GB, free: 2.703 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1684/2.033, allocations: 86.37 MB / 1.924 GB, free: 13.27 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/16.6, allocations: 6.344 kB / 1.924 GB, free: 13.27 MB / 1.498 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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: 23.221004793886095]