Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007834/0.0007834, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004453/0.004453, allocations: 174.9 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.265/2.265, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.532, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1806/0.7126, allocations: 208.6 MB / 1.227 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.7244, allocations: 10.19 MB / 1.237 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.7256, allocations: 31.81 kB / 1.237 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.7273, allocations: 0.7386 MB / 1.238 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00568/0.733, allocations: 2.72 MB / 1.24 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.4742/1.207, allocations: 1.28 MB / 1.241 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005208/1.212, allocations: 4.637 MB / 1.246 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/1.214, allocations: 0.8462 MB / 1.247 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/1.215, allocations: 0.951 MB / 1.248 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/1.217, allocations: 1.087 MB / 1.249 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/1.217, allocations: 56.38 kB / 1.249 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/1.223, allocations: 3.192 MB / 1.252 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/1.223, allocations: 435.8 kB / 1.252 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007798/1.224, allocations: 0.6708 MB / 1.253 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003675/1.228, allocations: 2.907 MB / 1.256 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.228, allocations: 0.75 kB / 1.256 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/1.228, allocations: 0 / 1.256 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.385e-05/1.228, allocations: 1 kB / 1.256 GB, free: 4.559 MB / 0.9825 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.003435/1.231, allocations: 1.55 MB / 1.257 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/1.231, allocations: 9.156 kB / 1.257 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/1.232, allocations: 152.7 kB / 1.258 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/1.234, allocations: 435.4 kB / 1.258 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.235, allocations: 0.8517 MB / 1.259 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/1.235, allocations: 68.91 kB / 1.259 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/1.236, allocations: 95.44 kB / 1.259 GB, free: 19.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/1.237, allocations: 1.209 MB / 1.26 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/1.237, allocations: 1.281 kB / 1.26 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/1.237, allocations: 38.41 kB / 1.26 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/1.237, allocations: 54 kB / 1.26 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/1.239, allocations: 1.071 MB / 1.261 GB, free: 19.15 MB / 0.9981 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.004388/1.243, allocations: 4.75 MB / 1.266 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/1.245, allocations: 0.9763 MB / 1.267 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/1.246, allocations: 0.5661 MB / 1.267 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/1.246, allocations: 0.6816 MB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.246, allocations: 41.97 kB / 1.268 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 1.804e-06/1.246, allocations: 0 / 1.268 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.004185/1.25, allocations: 2.299 MB / 1.27 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.25, allocations: 60.41 kB / 1.27 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/1.251, allocations: 0.6423 MB / 1.271 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/1.251, allocations: 43.33 kB / 1.271 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/1.252, allocations: 456.4 kB / 1.272 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/1.252, allocations: 296.1 kB / 1.272 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.252, allocations: 70.19 kB / 1.272 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.252, allocations: 395.7 kB / 1.272 GB, free: 14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/1.253, allocations: 321.7 kB / 1.273 GB, free: 14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/1.254, allocations: 427.5 kB / 1.273 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/1.255, allocations: 0.7822 MB / 1.274 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.255, allocations: 3.719 kB / 1.274 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001793/1.257, allocations: 0.9465 MB / 1.275 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.257, allocations: 6.344 kB / 1.275 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/1.257, allocations: 7.703 kB / 1.275 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/1.257, allocations: 60.14 kB / 1.275 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008638/1.258, allocations: 156.8 kB / 1.275 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005511/1.258, allocations: 0.61 MB / 1.275 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.26, allocations: 110.1 kB / 1.276 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/1.26, allocations: 25.69 kB / 1.276 GB, free: 13.19 MB / 0.9981 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.0004971/1.26, allocations: 304.2 kB / 1.276 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/1.261, allocations: 97.31 kB / 1.276 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/1.262, allocations: 0.9225 MB / 1.277 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.262, allocations: 12.64 kB / 1.277 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.262, allocations: 0 / 1.277 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001503/1.264, allocations: 0.9277 MB / 1.278 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/1.268, allocations: 2.115 MB / 1.28 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.268, allocations: 0 / 1.28 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.269, allocations: 189 kB / 1.28 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/1.269, allocations: 5.781 kB / 1.28 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/1.269, allocations: 21.22 kB / 1.28 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.269, allocations: 3.562 kB / 1.28 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.269, allocations: 6.844 kB / 1.28 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/1.271, allocations: 1.384 MB / 1.281 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/1.272, allocations: 255.8 kB / 1.282 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/1.272, allocations: 14.16 kB / 1.282 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.273, allocations: 93.2 kB / 1.282 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.273, allocations: 49.3 kB / 1.282 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/1.273, allocations: 24.7 kB / 1.282 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007114/1.274, allocations: 456.4 kB / 1.282 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.61e-07/1.274, allocations: 0 / 1.282 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001042/1.275, allocations: 328.5 kB / 1.283 GB, free: 11.88 MB / 0.9981 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.002958/1.278, allocations: 2.041 MB / 1.285 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.28, allocations: 0.8104 MB / 1.285 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/1.28, allocations: 2.906 kB / 1.285 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007469/1.28, allocations: 439.9 kB / 1.286 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.284, allocations: 0.5688 MB / 1.286 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.298, allocations: 8.339 MB / 1.295 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/1.299, allocations: 1.123 MB / 1.296 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001466/1.301, allocations: 259.7 kB / 1.296 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/1.301, allocations: 388.6 kB / 1.296 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.301, allocations: 0 / 1.296 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/1.364, allocations: 26.53 MB / 1.322 GB, free: 15.91 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.365, allocations: 222.4 kB / 1.322 GB, free: 15.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.62, allocations: 6.406 kB / 1.322 GB, free: 15.65 MB / 1.014 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches