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.00717/0.00717, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001933/0.001933, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.441/2.441, allocations: 437.1 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2784, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.8217/1.1, allocations: 218.2 MB / 1.379 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03259/1.133, allocations: 26.47 MB / 1.405 GB, free: 9.188 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/1.135, allocations: 38.75 kB / 1.405 GB, free: 9.172 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003693/1.139, allocations: 1.177 MB / 1.406 GB, free: 8.285 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008518/1.148, allocations: 3.234 MB / 1.409 GB, free: 5.895 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/1.152, allocations: 1.676 MB / 1.411 GB, free: 4.672 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005066/1.157, allocations: 3.867 MB / 1.415 GB, free: 2.539 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/1.159, allocations: 1.445 MB / 1.416 GB, free: 1.664 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/1.164, allocations: 2.338 MB / 1.419 GB, free: 244 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/1.167, allocations: 1.462 MB / 1.42 GB, free: 15.44 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004/1.167, allocations: 125.4 kB / 1.42 GB, free: 15.44 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/1.172, allocations: 1.803 MB / 1.422 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/1.173, allocations: 0.8595 MB / 1.423 GB, free: 13.94 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/1.175, allocations: 1.17 MB / 1.424 GB, free: 12.85 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005687/1.181, allocations: 3.014 MB / 1.427 GB, free: 9.828 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.181, allocations: 0 / 1.427 GB, free: 9.828 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.443e-06/1.181, allocations: 0 / 1.427 GB, free: 9.828 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001001/1.181, allocations: 0 / 1.427 GB, free: 9.828 MB / 1.092 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.005017/1.186, allocations: 2.865 MB / 1.43 GB, free: 6.898 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.186, allocations: 8.031 kB / 1.43 GB, free: 6.891 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002813/1.187, allocations: 202.6 kB / 1.43 GB, free: 6.684 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/1.188, allocations: 448.3 kB / 1.43 GB, free: 6.242 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/1.192, allocations: 2.753 MB / 1.433 GB, free: 3.418 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/1.192, allocations: 98.52 kB / 1.433 GB, free: 3.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/1.192, allocations: 127.9 kB / 1.433 GB, free: 3.195 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/1.194, allocations: 1.595 MB / 1.435 GB, free: 1.457 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/1.195, allocations: 7.938 kB / 1.435 GB, free: 1.449 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-05/1.195, allocations: 59.98 kB / 1.435 GB, free: 1.391 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.74e-05/1.195, allocations: 93.95 kB / 1.435 GB, free: 1.297 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/1.196, allocations: 1.057 MB / 1.436 GB, free: 248 kB / 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.007537/1.204, allocations: 8.455 MB / 1.444 GB, free: 7.281 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/1.205, allocations: 0.7285 MB / 1.445 GB, free: 6.508 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/1.205, allocations: 304.1 kB / 1.445 GB, free: 6.195 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/1.206, allocations: 0.6133 MB / 1.446 GB, free: 5.453 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.206, allocations: 46.45 kB / 1.446 GB, free: 5.398 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/1.206, allocations: 3.938 kB / 1.446 GB, free: 5.395 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.00166/1.208, allocations: 0.9751 MB / 1.447 GB, free: 4.41 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/1.208, allocations: 162.2 kB / 1.447 GB, free: 4.215 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/1.213, allocations: 4.69 MB / 1.451 GB, free: 15.52 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/1.213, allocations: 37.7 kB / 1.451 GB, free: 15.47 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/1.214, allocations: 1.063 MB / 1.452 GB, free: 14.4 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/1.214, allocations: 181.4 kB / 1.453 GB, free: 14.22 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/1.214, allocations: 94.25 kB / 1.453 GB, free: 14.12 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.214, allocations: 326 kB / 1.453 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/1.214, allocations: 225 kB / 1.453 GB, free: 13.58 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/1.215, allocations: 318.9 kB / 1.454 GB, free: 13.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/1.216, allocations: 0.5571 MB / 1.454 GB, free: 12.64 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.216, allocations: 0 / 1.454 GB, free: 12.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001308/1.217, allocations: 0.7954 MB / 1.455 GB, free: 11.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.217, allocations: 8 kB / 1.455 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.217, allocations: 3.938 kB / 1.455 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.217, allocations: 8 kB / 1.455 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/1.218, allocations: 103.8 kB / 1.455 GB, free: 11.72 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.218, allocations: 4 kB / 1.455 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/1.218, allocations: 98.8 kB / 1.455 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/1.218, allocations: 23.98 kB / 1.455 GB, free: 11.59 MB / 1.123 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.0007307/1.219, allocations: 0.5411 MB / 1.456 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/1.22, allocations: 237.1 kB / 1.456 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/1.221, allocations: 0.8028 MB / 1.457 GB, free: 10 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.221, allocations: 4.109 kB / 1.457 GB, free: 9.996 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.221, allocations: 7.938 kB / 1.457 GB, free: 9.988 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.221, allocations: 4.078 kB / 1.457 GB, free: 9.984 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/1.224, allocations: 2.088 MB / 1.459 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.224, allocations: 3.984 kB / 1.459 GB, free: 7.816 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/1.224, allocations: 95.89 kB / 1.459 GB, free: 7.723 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/1.224, allocations: 8.188 kB / 1.459 GB, free: 7.715 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/1.224, allocations: 16 kB / 1.459 GB, free: 7.699 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/1.224, allocations: 7.938 kB / 1.459 GB, free: 7.691 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.224, allocations: 7.984 kB / 1.459 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/1.226, allocations: 1.266 MB / 1.46 GB, free: 6.379 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/1.227, allocations: 414 kB / 1.461 GB, free: 5.953 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/1.227, allocations: 12 kB / 1.461 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/1.228, allocations: 23.98 kB / 1.461 GB, free: 5.918 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/1.228, allocations: 44.33 kB / 1.461 GB, free: 5.875 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/1.228, allocations: 23.98 kB / 1.461 GB, free: 5.852 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003843/1.232, allocations: 3.506 MB / 1.464 GB, free: 2.34 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.232, allocations: 4 kB / 1.464 GB, free: 2.336 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001243/1.233, allocations: 475 kB / 1.464 GB, free: 1.871 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.00319/1.236, allocations: 2.253 MB / 1.467 GB, free: 15.72 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009394/1.237, allocations: 0.5332 MB / 1.467 GB, free: 15.18 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.237, allocations: 0 / 1.467 GB, free: 15.18 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/1.238, allocations: 291 kB / 1.467 GB, free: 14.9 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.241, allocations: 0.857 MB / 1.468 GB, free: 14.04 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.264, allocations: 19.33 MB / 1.487 GB, free: 10.45 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.266, allocations: 1.64 MB / 1.489 GB, free: 8.777 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00147/1.267, allocations: 466.1 kB / 1.489 GB, free: 8.32 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.268, allocations: 0.9406 MB / 1.49 GB, free: 7.379 MB / 1.154 GB Notification: Performance of SimCode: time 8.02e-07/1.268, allocations: 0 / 1.49 GB, free: 7.379 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07707/1.345, allocations: 46.57 MB / 1.536 GB, free: 9.348 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.71, allocations: 15.92 kB / 1.536 GB, free: 9.332 MB / 1.201 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 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.mat","/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