Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Validation.OneWayFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_10_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.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 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.001085/0.001085, allocations: 197.1 kB / 16.53 MB, free: 6.672 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.353/2.353, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5305, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1974/0.728, allocations: 218.2 MB / 1.23 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5059/1.234, allocations: 26.45 MB / 1.256 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/1.236, allocations: 31.47 kB / 1.256 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/1.238, allocations: 1.157 MB / 1.257 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007051/1.245, allocations: 3.137 MB / 1.261 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003569/1.249, allocations: 1.652 MB / 1.262 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004906/1.253, allocations: 3.847 MB / 1.266 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/1.256, allocations: 1.453 MB / 1.267 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004895/1.261, allocations: 2.274 MB / 1.27 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/1.263, allocations: 1.473 MB / 1.271 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003117/1.263, allocations: 125.6 kB / 1.271 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/1.267, allocations: 1.775 MB / 1.273 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008441/1.268, allocations: 0.8591 MB / 1.274 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/1.27, allocations: 1.177 MB / 1.275 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/1.273, allocations: 2.975 MB / 1.278 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.273, allocations: 0.9688 kB / 1.278 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/1.273, allocations: 0 / 1.278 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.697e-05/1.273, allocations: 2.094 kB / 1.278 GB, free: 1.391 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003816/1.277, allocations: 2.854 MB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.277, allocations: 11.19 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/1.277, allocations: 199.1 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.279, allocations: 445.7 kB / 1.281 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/1.282, allocations: 2.732 MB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/1.282, allocations: 94.84 kB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.282, allocations: 128.7 kB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/1.284, allocations: 1.595 MB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/1.284, allocations: 8.578 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/1.284, allocations: 57.73 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/1.284, allocations: 92.97 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/1.285, allocations: 1.057 MB / 1.287 GB, free: 14.77 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.007065/1.292, allocations: 8.502 MB / 1.295 GB, free: 9.516 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/1.293, allocations: 0.7371 MB / 1.296 GB, free: 9.383 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/1.294, allocations: 310.2 kB / 1.296 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/1.294, allocations: 0.6069 MB / 1.297 GB, free: 8.684 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.294, allocations: 42.34 kB / 1.297 GB, free: 8.645 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.334e-06/1.294, allocations: 3.531 kB / 1.297 GB, free: 8.645 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.001487/1.296, allocations: 0.9744 MB / 1.298 GB, free: 8.477 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/1.296, allocations: 162 kB / 1.298 GB, free: 8.289 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/1.3, allocations: 4.692 MB / 1.302 GB, free: 8.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/1.3, allocations: 38.95 kB / 1.302 GB, free: 8.039 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/1.301, allocations: 1.071 MB / 1.303 GB, free: 7.828 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/1.301, allocations: 171.9 kB / 1.304 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.301, allocations: 100.3 kB / 1.304 GB, free: 7.695 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/1.301, allocations: 324.8 kB / 1.304 GB, free: 7.391 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/1.301, allocations: 217.9 kB / 1.304 GB, free: 7.391 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/1.302, allocations: 322.1 kB / 1.305 GB, free: 7.297 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/1.302, allocations: 0.5536 MB / 1.305 GB, free: 7.203 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.302, allocations: 5.969 kB / 1.305 GB, free: 7.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001028/1.303, allocations: 0.8066 MB / 1.306 GB, free: 7.039 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.303, allocations: 6.281 kB / 1.306 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.303, allocations: 2.812 kB / 1.306 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.303, allocations: 7.953 kB / 1.306 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.304, allocations: 104.6 kB / 1.306 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.304, allocations: 2.688 kB / 1.306 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008634/1.305, allocations: 97.06 kB / 1.306 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/1.305, allocations: 21.34 kB / 1.306 GB, free: 6.984 MB / 1.014 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.000569/1.305, allocations: 0.5466 MB / 1.307 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/1.306, allocations: 231.7 kB / 1.307 GB, free: 6.746 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.307, allocations: 0.7985 MB / 1.308 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.307, allocations: 15.05 kB / 1.308 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.307, allocations: 3.375 kB / 1.308 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.307, allocations: 3.234 kB / 1.308 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/1.309, allocations: 2.093 MB / 1.31 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.309, allocations: 0.9062 kB / 1.31 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/1.309, allocations: 101 kB / 1.31 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.309, allocations: 4.062 kB / 1.31 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/1.309, allocations: 17.92 kB / 1.31 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.309, allocations: 7.703 kB / 1.31 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.31, allocations: 3.938 kB / 1.31 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.311, allocations: 1.265 MB / 1.311 GB, free: 5.719 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/1.312, allocations: 418.6 kB / 1.312 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/1.312, allocations: 13.41 kB / 1.312 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/1.312, allocations: 23.83 kB / 1.312 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/1.313, allocations: 38.67 kB / 1.312 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/1.313, allocations: 19.58 kB / 1.312 GB, free: 5.496 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00309/1.316, allocations: 3.51 MB / 1.315 GB, free: 5.352 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.316, allocations: 0 / 1.315 GB, free: 5.352 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001042/1.317, allocations: 476 kB / 1.315 GB, free: 5.293 MB / 1.014 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.00261/1.319, allocations: 2.258 MB / 1.318 GB, free: 4.359 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008698/1.32, allocations: 0.6069 MB / 1.318 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.32, allocations: 0.7188 kB / 1.318 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/1.321, allocations: 296.9 kB / 1.319 GB, free: 4.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/1.324, allocations: 0.8588 MB / 1.319 GB, free: 4.215 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/1.344, allocations: 21.38 MB / 1.34 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.345, allocations: 1.634 MB / 1.342 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001366/1.346, allocations: 471.7 kB / 1.342 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/1.347, allocations: 0.9404 MB / 1.343 GB, free: 12.78 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/1.347, allocations: 3.938 kB / 1.343 GB, free: 12.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07743/1.425, allocations: 48.69 MB / 1.391 GB, free: 3.113 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/9.166, allocations: 5.984 kB / 1.391 GB, free: 3.109 MB / 1.061 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches