Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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.001876/0.001876, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002379/0.002379, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.162/3.162, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",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.001959/0.001959, allocations: 65.38 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3608, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2704/0.6312, allocations: 218 MB / 1.54 GB, free: 7.168 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.6476, allocations: 10.29 MB / 1.55 GB, free: 12.85 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.6494, allocations: 51.56 kB / 1.55 GB, free: 12.8 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.6519, allocations: 0.882 MB / 1.55 GB, free: 11.91 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.6598, allocations: 3.042 MB / 1.553 GB, free: 8.855 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003887/0.6637, allocations: 1.468 MB / 1.555 GB, free: 7.387 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005121/0.6688, allocations: 3.243 MB / 1.558 GB, free: 4.133 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.6705, allocations: 0.7689 MB / 1.559 GB, free: 3.344 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.6736, allocations: 1.308 MB / 1.56 GB, free: 2.031 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.6765, allocations: 1.136 MB / 1.561 GB, free: 0.8984 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004593/0.677, allocations: 124 kB / 1.561 GB, free: 0.7773 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007021/0.684, allocations: 2.942 MB / 1.564 GB, free: 13.83 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.6852, allocations: 0.5101 MB / 1.565 GB, free: 13.32 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.6876, allocations: 0.7312 MB / 1.565 GB, free: 12.58 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008037/0.6956, allocations: 2.827 MB / 1.568 GB, free: 9.746 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.6956, allocations: 0 / 1.568 GB, free: 9.746 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6956, allocations: 0 / 1.568 GB, free: 9.746 MB / 1.264 GB Notification: Performance of Transformations before backend: time 9.197e-05/0.6957, allocations: 3.938 kB / 1.568 GB, free: 9.742 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005769/0.7015, allocations: 1.764 MB / 1.57 GB, free: 7.938 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7015, allocations: 8.031 kB / 1.57 GB, free: 7.93 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.027e-05/0.7016, allocations: 26 kB / 1.57 GB, free: 7.906 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000348/0.7019, allocations: 152 kB / 1.57 GB, free: 7.75 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.7052, allocations: 434.7 kB / 1.57 GB, free: 7.324 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.7074, allocations: 0.8188 MB / 1.571 GB, free: 6.473 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/0.7075, allocations: 77.98 kB / 1.571 GB, free: 6.395 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.7078, allocations: 92 kB / 1.571 GB, free: 6.305 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.7105, allocations: 1.202 MB / 1.573 GB, free: 5.07 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.7106, allocations: 0 / 1.573 GB, free: 5.07 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.7107, allocations: 36 kB / 1.573 GB, free: 5.035 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-05/0.7108, allocations: 61.92 kB / 1.573 GB, free: 4.973 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.7132, allocations: 1.066 MB / 1.574 GB, free: 3.91 MB / 1.264 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.007942/0.7211, allocations: 4.863 MB / 1.578 GB, free: 14.62 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.7228, allocations: 0.8025 MB / 1.579 GB, free: 13.81 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.7239, allocations: 0.5636 MB / 1.58 GB, free: 13.24 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/0.7243, allocations: 76.59 kB / 1.58 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.7244, allocations: 43.16 kB / 1.58 GB, free: 13.11 MB / 1.279 GB Notification: Performance of pre-optimization done (n=82): time 3.546e-06/0.7244, allocations: 0 / 1.58 GB, free: 13.11 MB / 1.279 GB Notification: Performance of matching and sorting (n=83): time 0.005133/0.7295, allocations: 2.254 MB / 1.582 GB, free: 10.83 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.7296, allocations: 60.41 kB / 1.582 GB, free: 10.76 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.7306, allocations: 0.6373 MB / 1.583 GB, free: 10.11 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.7307, allocations: 41.7 kB / 1.583 GB, free: 10.07 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.7311, allocations: 468.9 kB / 1.583 GB, free: 9.602 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.7314, allocations: 309.3 kB / 1.584 GB, free: 9.297 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.7317, allocations: 142.5 kB / 1.584 GB, free: 9.152 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.7319, allocations: 390.8 kB / 1.584 GB, free: 8.762 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.7325, allocations: 321.8 kB / 1.584 GB, free: 8.449 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.7332, allocations: 426.5 kB / 1.585 GB, free: 8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.7345, allocations: 0.7846 MB / 1.586 GB, free: 7.191 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.7345, allocations: 4 kB / 1.586 GB, free: 7.188 MB / 1.279 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001819/0.7363, allocations: 0.9467 MB / 1.587 GB, free: 6.23 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.7363, allocations: 11.94 kB / 1.587 GB, free: 6.219 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7363, allocations: 0 / 1.587 GB, free: 6.219 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.7366, allocations: 61.08 kB / 1.587 GB, free: 6.156 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.7373, allocations: 151.8 kB / 1.587 GB, free: 6.008 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006089/0.7379, allocations: 0.6109 MB / 1.587 GB, free: 5.371 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.7388, allocations: 20 kB / 1.587 GB, free: 5.352 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.7388, allocations: 28 kB / 1.587 GB, free: 5.324 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005365/0.7394, allocations: 305.6 kB / 1.588 GB, free: 5.016 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.7396, allocations: 91.44 kB / 1.588 GB, free: 4.926 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.7414, allocations: 0.9284 MB / 1.589 GB, free: 3.984 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.7414, allocations: 12 kB / 1.589 GB, free: 3.973 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7414, allocations: 4.062 kB / 1.589 GB, free: 3.969 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/0.7428, allocations: 0.9309 MB / 1.59 GB, free: 2.988 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.7466, allocations: 2.086 MB / 1.592 GB, free: 0.8555 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7466, allocations: 0 / 1.592 GB, free: 0.8555 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009558/0.7476, allocations: 195.7 kB / 1.592 GB, free: 0.6641 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.7476, allocations: 8 kB / 1.592 GB, free: 0.6562 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.7477, allocations: 16 kB / 1.592 GB, free: 0.6406 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.7477, allocations: 4 kB / 1.592 GB, free: 0.6367 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7477, allocations: 0 / 1.592 GB, free: 0.6367 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.7499, allocations: 1.393 MB / 1.593 GB, free: 15.23 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.7505, allocations: 179.3 kB / 1.593 GB, free: 15.05 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.7507, allocations: 16 kB / 1.593 GB, free: 15.04 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.7514, allocations: 21.86 kB / 1.593 GB, free: 15.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.7515, allocations: 56.89 kB / 1.593 GB, free: 14.96 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.7516, allocations: 31.98 kB / 1.593 GB, free: 14.93 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006887/0.7523, allocations: 451 kB / 1.594 GB, free: 14.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.7523, allocations: 0 / 1.594 GB, free: 14.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001049/0.7534, allocations: 323.9 kB / 1.594 GB, free: 14.18 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.002964/0.7563, allocations: 2.046 MB / 1.596 GB, free: 12.11 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.7579, allocations: 0.7816 MB / 1.597 GB, free: 11.32 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7579, allocations: 0 / 1.597 GB, free: 11.32 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006901/0.7586, allocations: 409.6 kB / 1.597 GB, free: 10.93 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.7619, allocations: 0.5967 MB / 1.598 GB, free: 10.34 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.7758, allocations: 7.566 MB / 1.605 GB, free: 2.602 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.7769, allocations: 1.12 MB / 1.606 GB, free: 1.445 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001147/0.7781, allocations: 247.8 kB / 1.607 GB, free: 1.199 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007307/0.7788, allocations: 387.3 kB / 1.607 GB, free: 0.8203 MB / 1.295 GB Notification: Performance of SimCode: time 2.044e-06/0.7788, allocations: 3.938 kB / 1.607 GB, free: 0.8164 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7355/1.514, allocations: 28.88 MB / 1.635 GB, free: 273.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.65, allocations: 8.922 kB / 1.635 GB, free: 273.3 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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: 22.529182257014327]