Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_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.009939/0.009939, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001764/0.001765, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 71.89 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.847/0.8485, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.218/1.067, allocations: 218.2 MB / 1.42 GB, free: 2.566 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03278/1.099, allocations: 26.47 MB / 1.446 GB, free: 8.012 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/1.102, allocations: 35.81 kB / 1.446 GB, free: 7.977 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/1.105, allocations: 1.154 MB / 1.447 GB, free: 6.816 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007869/1.113, allocations: 3.134 MB / 1.45 GB, free: 3.672 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004422/1.117, allocations: 1.659 MB / 1.452 GB, free: 2.016 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005182/1.122, allocations: 3.859 MB / 1.456 GB, free: 14.14 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/1.124, allocations: 1.448 MB / 1.457 GB, free: 12.66 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/1.129, allocations: 2.3 MB / 1.459 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/1.132, allocations: 1.459 MB / 1.461 GB, free: 8.887 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/1.132, allocations: 124 kB / 1.461 GB, free: 8.766 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/1.136, allocations: 1.789 MB / 1.463 GB, free: 6.973 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007268/1.137, allocations: 0.8489 MB / 1.464 GB, free: 6.121 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/1.138, allocations: 1.177 MB / 1.465 GB, free: 4.938 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004145/1.142, allocations: 3.01 MB / 1.468 GB, free: 1.918 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.142, allocations: 4 kB / 1.468 GB, free: 1.914 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.363e-06/1.142, allocations: 0 / 1.468 GB, free: 1.914 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.527e-05/1.142, allocations: 0 / 1.468 GB, free: 1.914 MB / 1.186 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.003875/1.146, allocations: 2.865 MB / 1.47 GB, free: 14.98 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.146, allocations: 8.031 kB / 1.47 GB, free: 14.98 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/1.146, allocations: 198.6 kB / 1.471 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.148, allocations: 444.3 kB / 1.471 GB, free: 14.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/1.151, allocations: 2.753 MB / 1.474 GB, free: 11.51 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/1.151, allocations: 94.53 kB / 1.474 GB, free: 11.42 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/1.151, allocations: 139.9 kB / 1.474 GB, free: 11.28 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/1.153, allocations: 1.595 MB / 1.476 GB, free: 9.543 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/1.153, allocations: 7.938 kB / 1.476 GB, free: 9.535 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/1.153, allocations: 52 kB / 1.476 GB, free: 9.484 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-05/1.153, allocations: 97.91 kB / 1.476 GB, free: 9.391 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/1.155, allocations: 1.059 MB / 1.477 GB, free: 8.332 MB / 1.201 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.007203/1.162, allocations: 8.443 MB / 1.485 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/1.163, allocations: 0.7503 MB / 1.486 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/1.164, allocations: 304.1 kB / 1.486 GB, free: 14.28 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/1.164, allocations: 0.6013 MB / 1.487 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.164, allocations: 46.48 kB / 1.487 GB, free: 13.49 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.055e-06/1.164, allocations: 0 / 1.487 GB, free: 13.49 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.001612/1.166, allocations: 0.9793 MB / 1.488 GB, free: 12.5 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/1.166, allocations: 162.2 kB / 1.488 GB, free: 12.31 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/1.171, allocations: 4.69 MB / 1.492 GB, free: 7.609 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/1.171, allocations: 37.7 kB / 1.492 GB, free: 7.566 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008974/1.172, allocations: 1.063 MB / 1.493 GB, free: 6.496 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.172, allocations: 177.4 kB / 1.494 GB, free: 6.32 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/1.172, allocations: 102.3 kB / 1.494 GB, free: 6.215 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.172, allocations: 326 kB / 1.494 GB, free: 5.891 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/1.173, allocations: 220.9 kB / 1.494 GB, free: 5.676 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/1.173, allocations: 322.9 kB / 1.494 GB, free: 5.328 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/1.174, allocations: 0.5493 MB / 1.495 GB, free: 4.746 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.174, allocations: 4 kB / 1.495 GB, free: 4.742 MB / 1.217 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001369/1.175, allocations: 0.8031 MB / 1.496 GB, free: 3.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.175, allocations: 7.938 kB / 1.496 GB, free: 3.922 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.175, allocations: 4 kB / 1.496 GB, free: 3.918 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.175, allocations: 4 kB / 1.496 GB, free: 3.914 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/1.176, allocations: 111.8 kB / 1.496 GB, free: 3.805 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.176, allocations: 4 kB / 1.496 GB, free: 3.801 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/1.177, allocations: 98.8 kB / 1.496 GB, free: 3.703 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/1.177, allocations: 20 kB / 1.496 GB, free: 3.684 MB / 1.217 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.0007061/1.177, allocations: 0.5405 MB / 1.497 GB, free: 3.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/1.178, allocations: 233 kB / 1.497 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/1.179, allocations: 0.8118 MB / 1.498 GB, free: 2.086 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.179, allocations: 8 kB / 1.498 GB, free: 2.078 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.179, allocations: 0 / 1.498 GB, free: 2.078 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.179, allocations: 4 kB / 1.498 GB, free: 2.074 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/1.182, allocations: 2.092 MB / 1.5 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.182, allocations: 0 / 1.5 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/1.183, allocations: 100 kB / 1.5 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/1.183, allocations: 8 kB / 1.5 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/1.183, allocations: 19.98 kB / 1.5 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.183, allocations: 4 kB / 1.5 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.183, allocations: 0 / 1.5 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/1.184, allocations: 1.27 MB / 1.501 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/1.185, allocations: 417.9 kB / 1.501 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/1.186, allocations: 12 kB / 1.501 GB, free: 14.03 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/1.186, allocations: 27.98 kB / 1.501 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/1.186, allocations: 40.33 kB / 1.501 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/1.186, allocations: 20 kB / 1.502 GB, free: 13.94 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004097/1.191, allocations: 3.502 MB / 1.505 GB, free: 10.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.91e-07/1.191, allocations: 0 / 1.505 GB, free: 10.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001358/1.192, allocations: 475 kB / 1.505 GB, free: 9.969 MB / 1.232 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.003302/1.195, allocations: 2.262 MB / 1.508 GB, free: 7.801 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009585/1.196, allocations: 0.5332 MB / 1.508 GB, free: 7.266 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.196, allocations: 0 / 1.508 GB, free: 7.266 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004371/1.197, allocations: 295 kB / 1.508 GB, free: 6.98 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/1.201, allocations: 0.8572 MB / 1.509 GB, free: 6.125 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/1.228, allocations: 19.32 MB / 1.528 GB, free: 2.535 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/1.229, allocations: 1.636 MB / 1.53 GB, free: 0.8672 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001409/1.231, allocations: 462.1 kB / 1.53 GB, free: 424 kB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/1.232, allocations: 0.9407 MB / 1.531 GB, free: 15.47 MB / 1.264 GB Notification: Performance of SimCode: time 2.264e-06/1.232, allocations: 0 / 1.531 GB, free: 15.47 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7234/1.955, allocations: 47.54 MB / 1.577 GB, free: 350.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/14.63, allocations: 4.031 kB / 1.577 GB, free: 350.1 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches