Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.008291/0.008291, allocations: 97.64 kB / 15.73 MB, free: 6.047 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.001703/0.001703, allocations: 202.6 kB / 16.68 MB, free: 5.965 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.444/2.444, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 65.92 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.335, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.9602/1.295, allocations: 218.2 MB / 1.301 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02882/1.324, allocations: 26.49 MB / 1.326 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/1.327, allocations: 31.19 kB / 1.326 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003148/1.33, allocations: 1.183 MB / 1.328 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009695/1.34, allocations: 3.23 MB / 1.331 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00516/1.345, allocations: 1.673 MB / 1.332 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006894/1.352, allocations: 3.857 MB / 1.336 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/1.354, allocations: 1.45 MB / 1.338 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006472/1.361, allocations: 2.338 MB / 1.34 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/1.364, allocations: 1.463 MB / 1.341 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005109/1.365, allocations: 125.2 kB / 1.341 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006883/1.372, allocations: 1.803 MB / 1.343 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.373, allocations: 0.8556 MB / 1.344 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/1.375, allocations: 1.176 MB / 1.345 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00568/1.381, allocations: 3.031 MB / 1.348 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.381, allocations: 0 / 1.348 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.381, allocations: 4 kB / 1.348 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.013e-05/1.381, allocations: 0 / 1.348 GB, free: 0.5664 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004941/1.386, allocations: 2.952 MB / 1.351 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.386, allocations: 8.094 kB / 1.351 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/1.386, allocations: 202 kB / 1.351 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.388, allocations: 458.9 kB / 1.352 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/1.392, allocations: 2.779 MB / 1.354 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/1.392, allocations: 98.34 kB / 1.354 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/1.392, allocations: 122.9 kB / 1.355 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/1.395, allocations: 1.594 MB / 1.356 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/1.395, allocations: 11.73 kB / 1.356 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.395, allocations: 60.22 kB / 1.356 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.725e-05/1.395, allocations: 98.33 kB / 1.356 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/1.397, allocations: 1.055 MB / 1.357 GB, free: 12.5 MB / 1.029 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.009074/1.406, allocations: 8.467 MB / 1.366 GB, free: 6.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/1.407, allocations: 0.7344 MB / 1.366 GB, free: 6.055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/1.407, allocations: 312.2 kB / 1.367 GB, free: 5.938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/1.408, allocations: 0.6148 MB / 1.367 GB, free: 5.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.408, allocations: 39.22 kB / 1.367 GB, free: 5.227 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 2.725e-06/1.408, allocations: 0 / 1.367 GB, free: 5.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.001894/1.41, allocations: 0.9808 MB / 1.368 GB, free: 4.891 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/1.41, allocations: 161.6 kB / 1.368 GB, free: 4.703 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005372/1.415, allocations: 4.692 MB / 1.373 GB, free: 3.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/1.415, allocations: 36.27 kB / 1.373 GB, free: 3.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/1.416, allocations: 1.077 MB / 1.374 GB, free: 2.426 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/1.416, allocations: 183.9 kB / 1.374 GB, free: 2.281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.416, allocations: 98.12 kB / 1.374 GB, free: 2.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.417, allocations: 323.8 kB / 1.375 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/1.417, allocations: 220.1 kB / 1.375 GB, free: 1.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/1.417, allocations: 322.1 kB / 1.375 GB, free: 1.711 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/1.418, allocations: 0.5547 MB / 1.376 GB, free: 1.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.418, allocations: 0 / 1.376 GB, free: 1.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001597/1.42, allocations: 0.8136 MB / 1.376 GB, free: 1.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.42, allocations: 10.41 kB / 1.376 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.42, allocations: 2.406 kB / 1.376 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.42, allocations: 4.469 kB / 1.376 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/1.42, allocations: 108.6 kB / 1.377 GB, free: 1.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/1.42, allocations: 5.281 kB / 1.377 GB, free: 1.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.421, allocations: 108.1 kB / 1.377 GB, free: 1.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/1.421, allocations: 25.91 kB / 1.377 GB, free: 1.086 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0008816/1.422, allocations: 0.5383 MB / 1.377 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/1.423, allocations: 240.9 kB / 1.377 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/1.424, allocations: 0.8023 MB / 1.378 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.424, allocations: 8.156 kB / 1.378 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.424, allocations: 0 / 1.378 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.424, allocations: 11.06 kB / 1.378 GB, free: 468 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/1.428, allocations: 2.086 MB / 1.38 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.428, allocations: 5.531 kB / 1.38 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/1.428, allocations: 100.1 kB / 1.38 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/1.428, allocations: 6.312 kB / 1.38 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/1.428, allocations: 15.41 kB / 1.38 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/1.428, allocations: 14.34 kB / 1.38 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.428, allocations: 0 / 1.38 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.43, allocations: 1.278 MB / 1.382 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.431, allocations: 428.7 kB / 1.382 GB, free: 14.56 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005014/1.432, allocations: 15.72 kB / 1.382 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/1.433, allocations: 27.44 kB / 1.382 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.433, allocations: 35.98 kB / 1.382 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/1.433, allocations: 17.38 kB / 1.382 GB, free: 14.53 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004899/1.438, allocations: 3.506 MB / 1.386 GB, free: 13.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.71e-07/1.438, allocations: 0 / 1.386 GB, free: 13.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002026/1.44, allocations: 480.7 kB / 1.386 GB, free: 13.05 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.003752/1.443, allocations: 2.264 MB / 1.388 GB, free: 11.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00119/1.445, allocations: 0.5379 MB / 1.389 GB, free: 11.49 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.445, allocations: 0 / 1.389 GB, free: 11.49 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/1.445, allocations: 297.5 kB / 1.389 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/1.451, allocations: 0.8573 MB / 1.39 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03715/1.488, allocations: 19.41 MB / 1.409 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.49, allocations: 1.634 MB / 1.41 GB, free: 7.242 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001538/1.491, allocations: 466.1 kB / 1.411 GB, free: 6.785 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.493, allocations: 0.9445 MB / 1.412 GB, free: 5.84 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/1.493, allocations: 0 / 1.412 GB, free: 5.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08976/1.582, allocations: 46.57 MB / 1.457 GB, free: 7.781 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/14.25, allocations: 8 kB / 1.457 GB, free: 7.773 MB / 1.107 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches