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.00518/0.00518, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001069/0.001069, allocations: 197.5 kB / 16.68 MB, free: 5.93 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.056/2.056, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7833, allocations: 140.4 MB / 1.087 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.265/1.048, allocations: 218.2 MB / 1.301 GB, free: 3.492 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03004/1.078, allocations: 26.47 MB / 1.326 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/1.08, allocations: 31.88 kB / 1.326 GB, free: 8.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/1.083, allocations: 1.154 MB / 1.328 GB, free: 7.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007422/1.09, allocations: 3.135 MB / 1.331 GB, free: 4.605 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/1.095, allocations: 1.654 MB / 1.332 GB, free: 2.953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00509/1.1, allocations: 3.857 MB / 1.336 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/1.103, allocations: 1.452 MB / 1.337 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/1.107, allocations: 2.288 MB / 1.34 GB, free: 11.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/1.11, allocations: 1.471 MB / 1.341 GB, free: 9.832 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/1.11, allocations: 128 kB / 1.341 GB, free: 9.707 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/1.114, allocations: 1.785 MB / 1.343 GB, free: 7.918 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/1.115, allocations: 0.8529 MB / 1.344 GB, free: 7.062 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/1.118, allocations: 1.177 MB / 1.345 GB, free: 5.879 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005189/1.123, allocations: 3.01 MB / 1.348 GB, free: 2.859 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.123, allocations: 4 kB / 1.348 GB, free: 2.855 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.242e-06/1.123, allocations: 0 / 1.348 GB, free: 2.855 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.904e-05/1.123, allocations: 3.984 kB / 1.348 GB, free: 2.852 MB / 1.076 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.004674/1.128, allocations: 2.846 MB / 1.351 GB, free: 15.94 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.128, allocations: 11.97 kB / 1.351 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/1.128, allocations: 198.6 kB / 1.351 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.13, allocations: 460.1 kB / 1.351 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/1.133, allocations: 2.753 MB / 1.354 GB, free: 12.45 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/1.133, allocations: 94.53 kB / 1.354 GB, free: 12.36 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.133, allocations: 132 kB / 1.354 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.135, allocations: 1.591 MB / 1.356 GB, free: 10.49 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/1.135, allocations: 11.84 kB / 1.356 GB, free: 10.48 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/1.135, allocations: 56 kB / 1.356 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.52e-05/1.135, allocations: 89.95 kB / 1.356 GB, free: 10.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/1.137, allocations: 1.064 MB / 1.357 GB, free: 9.273 MB / 1.092 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.007574/1.145, allocations: 8.452 MB / 1.365 GB, free: 328 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/1.146, allocations: 0.727 MB / 1.366 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/1.146, allocations: 316 kB / 1.366 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005518/1.147, allocations: 0.6013 MB / 1.367 GB, free: 14.49 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.147, allocations: 50.48 kB / 1.367 GB, free: 14.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 2.394e-06/1.147, allocations: 0 / 1.367 GB, free: 14.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.001703/1.148, allocations: 0.9673 MB / 1.368 GB, free: 13.46 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/1.148, allocations: 170.7 kB / 1.368 GB, free: 13.25 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/1.153, allocations: 4.686 MB / 1.373 GB, free: 8.559 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/1.153, allocations: 37.7 kB / 1.373 GB, free: 8.516 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007981/1.154, allocations: 1.063 MB / 1.374 GB, free: 7.445 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/1.154, allocations: 181.4 kB / 1.374 GB, free: 7.266 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.155, allocations: 94.16 kB / 1.374 GB, free: 7.168 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.155, allocations: 326.1 kB / 1.374 GB, free: 6.844 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/1.155, allocations: 232.9 kB / 1.374 GB, free: 6.617 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/1.155, allocations: 310.9 kB / 1.375 GB, free: 6.277 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/1.156, allocations: 0.561 MB / 1.375 GB, free: 5.684 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.156, allocations: 0 / 1.375 GB, free: 5.684 MB / 1.107 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001257/1.158, allocations: 0.7953 MB / 1.376 GB, free: 4.879 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.158, allocations: 11.94 kB / 1.376 GB, free: 4.867 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.158, allocations: 256 / 1.376 GB, free: 4.867 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.158, allocations: 11.94 kB / 1.376 GB, free: 4.855 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/1.158, allocations: 107.9 kB / 1.376 GB, free: 4.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/1.158, allocations: 4 kB / 1.376 GB, free: 4.746 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/1.159, allocations: 98.8 kB / 1.376 GB, free: 4.648 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/1.159, allocations: 23.94 kB / 1.376 GB, free: 4.625 MB / 1.107 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.0007076/1.16, allocations: 0.5371 MB / 1.377 GB, free: 4.078 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/1.16, allocations: 233 kB / 1.377 GB, free: 3.848 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/1.161, allocations: 0.8156 MB / 1.378 GB, free: 3.02 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.161, allocations: 4 kB / 1.378 GB, free: 3.016 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.161, allocations: 4 kB / 1.378 GB, free: 3.012 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.161, allocations: 0 / 1.378 GB, free: 3.012 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/1.164, allocations: 2.092 MB / 1.38 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.164, allocations: 0 / 1.38 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/1.164, allocations: 95.89 kB / 1.38 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.164, allocations: 7.984 kB / 1.38 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/1.164, allocations: 16 kB / 1.38 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.165, allocations: 4 kB / 1.38 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.165, allocations: 4 kB / 1.38 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.166, allocations: 1.27 MB / 1.381 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007526/1.167, allocations: 417.9 kB / 1.382 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/1.167, allocations: 12 kB / 1.382 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/1.168, allocations: 27.98 kB / 1.382 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/1.168, allocations: 48.2 kB / 1.382 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/1.168, allocations: 16 kB / 1.382 GB, free: 14.88 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003629/1.172, allocations: 3.506 MB / 1.385 GB, free: 11.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.01e-07/1.172, allocations: 7.938 kB / 1.385 GB, free: 11.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00139/1.173, allocations: 475 kB / 1.386 GB, free: 10.89 MB / 1.123 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.003056/1.176, allocations: 2.243 MB / 1.388 GB, free: 8.746 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000919/1.177, allocations: 0.5375 MB / 1.388 GB, free: 8.207 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.177, allocations: 0 / 1.388 GB, free: 8.207 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/1.177, allocations: 298.2 kB / 1.389 GB, free: 7.914 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.181, allocations: 0.861 MB / 1.389 GB, free: 7.055 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/1.205, allocations: 19.32 MB / 1.408 GB, free: 3.469 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.206, allocations: 1.64 MB / 1.41 GB, free: 1.793 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001373/1.207, allocations: 470.1 kB / 1.41 GB, free: 1.332 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.208, allocations: 0.9367 MB / 1.411 GB, free: 404 kB / 1.139 GB Notification: Performance of SimCode: time 1.042e-06/1.208, allocations: 0 / 1.411 GB, free: 404 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08469/1.293, allocations: 46.56 MB / 1.457 GB, free: 2.395 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.68, allocations: 13.86 kB / 1.457 GB, free: 2.383 MB / 1.186 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 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.mat","/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