Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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.001039/0.001039, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009511/0.000951, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 59.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4943, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.2407/0.7351, allocations: 284.3 MB / 1.227 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.7558, allocations: 17.3 MB / 1.244 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.7581, allocations: 71.69 kB / 1.244 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.762, allocations: 1.721 MB / 1.246 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.4425/1.205, allocations: 5.887 MB / 1.252 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005731/1.21, allocations: 2.783 MB / 1.254 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007534/1.218, allocations: 6.575 MB / 1.261 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003654/1.222, allocations: 2.563 MB / 1.263 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/1.226, allocations: 2.45 MB / 1.266 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004327/1.23, allocations: 2.396 MB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009783/1.231, allocations: 299.8 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/1.242, allocations: 5.936 MB / 1.274 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001482/1.243, allocations: 1.308 MB / 1.275 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002179/1.245, allocations: 1.706 MB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007651/1.253, allocations: 6.382 MB / 1.283 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.253, allocations: 4.812 kB / 1.283 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.253, allocations: 0 / 1.283 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.46e-05/1.253, allocations: 3.594 kB / 1.283 GB, free: 3.16 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.007161/1.26, allocations: 3.746 MB / 1.287 GB, free: 17.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/1.26, allocations: 10.53 kB / 1.287 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003232/1.261, allocations: 348 kB / 1.287 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/1.265, allocations: 0.8079 MB / 1.288 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/1.267, allocations: 1.638 MB / 1.29 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.23e-05/1.268, allocations: 183.1 kB / 1.29 GB, free: 16.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/1.268, allocations: 245.1 kB / 1.29 GB, free: 16.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/1.272, allocations: 3.096 MB / 1.293 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/1.272, allocations: 19.94 kB / 1.293 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/1.272, allocations: 96.77 kB / 1.293 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/1.272, allocations: 133.4 kB / 1.293 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/1.276, allocations: 2.845 MB / 1.296 GB, free: 16.58 MB / 1.014 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.01062/1.286, allocations: 12.19 MB / 1.308 GB, free: 9.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/1.289, allocations: 2.288 MB / 1.31 GB, free: 9.336 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/1.29, allocations: 1.244 MB / 1.312 GB, free: 9.316 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.291, allocations: 1.372 MB / 1.313 GB, free: 7.816 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.291, allocations: 55.72 kB / 1.313 GB, free: 7.773 MB / 1.014 GB Notification: Performance of pre-optimization done (n=197): time 3.777e-06/1.291, allocations: 0.5312 kB / 1.313 GB, free: 7.773 MB / 1.014 GB Notification: Performance of matching and sorting (n=197): time 0.003866/1.295, allocations: 2.828 MB / 1.316 GB, free: 7.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.295, allocations: 70.62 kB / 1.316 GB, free: 7.527 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.297, allocations: 1.312 MB / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.297, allocations: 68.92 kB / 1.317 GB, free: 7.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/1.297, allocations: 0.9518 MB / 1.318 GB, free: 6.957 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/1.298, allocations: 0.6793 MB / 1.319 GB, free: 6.512 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/1.298, allocations: 295.5 kB / 1.319 GB, free: 6.488 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/1.298, allocations: 308.5 kB / 1.319 GB, free: 6.188 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009971/1.299, allocations: 0.7784 MB / 1.32 GB, free: 6.184 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.3, allocations: 0.9714 MB / 1.321 GB, free: 6.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/1.303, allocations: 1.869 MB / 1.323 GB, free: 5.941 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.303, allocations: 0 / 1.323 GB, free: 5.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00271/1.305, allocations: 2.163 MB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.305, allocations: 7.844 kB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.305, allocations: 2.938 kB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.305, allocations: 10.06 kB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.307, allocations: 377.5 kB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/1.307, allocations: 9.594 kB / 1.325 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.308, allocations: 145.8 kB / 1.325 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.308, allocations: 59.61 kB / 1.325 GB, free: 5.691 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.0007443/1.309, allocations: 0.599 MB / 1.326 GB, free: 5.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.309, allocations: 197.9 kB / 1.326 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/1.312, allocations: 2.259 MB / 1.328 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.312, allocations: 23.53 kB / 1.328 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.312, allocations: 0 / 1.328 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002222/1.315, allocations: 1.874 MB / 1.33 GB, free: 5.242 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/1.321, allocations: 5.097 MB / 1.335 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.321, allocations: 2.812 kB / 1.335 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.322, allocations: 421.5 kB / 1.336 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.322, allocations: 12.03 kB / 1.336 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.323, allocations: 55.5 kB / 1.336 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/1.323, allocations: 13.09 kB / 1.336 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.323, allocations: 6.125 kB / 1.336 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/1.326, allocations: 3.407 MB / 1.339 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/1.327, allocations: 0.498 MB / 1.34 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/1.327, allocations: 45.81 kB / 1.34 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.329, allocations: 48.64 kB / 1.34 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/1.329, allocations: 134.9 kB / 1.34 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.329, allocations: 63.05 kB / 1.34 GB, free: 3.984 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000941/1.33, allocations: 0.9076 MB / 1.341 GB, free: 3.875 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.33, allocations: 0 / 1.341 GB, free: 3.875 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001489/1.331, allocations: 0.8499 MB / 1.342 GB, free: 3.754 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (201): * Single equations (assignments): 201 * 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.004531/1.336, allocations: 4.235 MB / 1.346 GB, free: 2.793 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005714/1.342, allocations: 3.145 MB / 1.349 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.342, allocations: 3 kB / 1.349 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.343, allocations: 1.086 MB / 1.35 GB, free: 2.723 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/1.347, allocations: 1.252 MB / 1.351 GB, free: 2.504 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/1.369, allocations: 18 MB / 1.369 GB, free: 3.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/1.37, allocations: 1.82 MB / 1.37 GB, free: 1.598 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002123/1.372, allocations: 0.6337 MB / 1.371 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.373, allocations: 0.964 MB / 1.372 GB, free: 16 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/1.373, allocations: 0 / 1.372 GB, free: 16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/1.455, allocations: 60.62 MB / 1.431 GB, free: 4.188 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/9.417, allocations: 15.98 kB / 1.431 GB, free: 4.172 MB / 1.092 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches