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.006911/0.006911, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001586/0.001586, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.419/2.419, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.23 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7392, allocations: 157.4 MB / 1.207 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1979/0.9372, allocations: 218.2 MB / 1.42 GB, free: 2.625 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02693/0.9642, allocations: 26.46 MB / 1.446 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.9659, allocations: 27.88 kB / 1.446 GB, free: 8.051 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.9683, allocations: 1.158 MB / 1.447 GB, free: 6.887 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006809/0.9752, allocations: 3.13 MB / 1.45 GB, free: 3.746 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.9788, allocations: 1.666 MB / 1.452 GB, free: 2.082 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004152/0.9829, allocations: 3.857 MB / 1.456 GB, free: 14.21 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.9846, allocations: 1.44 MB / 1.457 GB, free: 12.74 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/0.9884, allocations: 2.304 MB / 1.459 GB, free: 10.42 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.99, allocations: 1.467 MB / 1.461 GB, free: 8.949 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.9901, allocations: 128 kB / 1.461 GB, free: 8.824 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.9932, allocations: 1.777 MB / 1.463 GB, free: 7.043 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005976/0.9939, allocations: 0.8606 MB / 1.464 GB, free: 6.18 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009069/0.9948, allocations: 1.169 MB / 1.465 GB, free: 5.004 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.998, allocations: 3.01 MB / 1.468 GB, free: 1.984 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.998, allocations: 3.938 kB / 1.468 GB, free: 1.98 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/0.998, allocations: 0 / 1.468 GB, free: 1.98 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.34e-05/0.998, allocations: 0 / 1.468 GB, free: 1.98 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.003717/1.002, allocations: 2.861 MB / 1.47 GB, free: 15.05 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.002, allocations: 16.03 kB / 1.47 GB, free: 15.04 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/1.002, allocations: 202.6 kB / 1.471 GB, free: 14.83 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/1.004, allocations: 444.3 kB / 1.471 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/1.006, allocations: 2.753 MB / 1.474 GB, free: 11.57 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/1.006, allocations: 98.52 kB / 1.474 GB, free: 11.47 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.007, allocations: 127.9 kB / 1.474 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/1.009, allocations: 1.591 MB / 1.476 GB, free: 9.613 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/1.009, allocations: 7.938 kB / 1.476 GB, free: 9.605 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/1.009, allocations: 59.98 kB / 1.476 GB, free: 9.547 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-05/1.009, allocations: 93.89 kB / 1.476 GB, free: 9.457 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/1.01, allocations: 1.061 MB / 1.477 GB, free: 8.395 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.006522/1.017, allocations: 8.443 MB / 1.485 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/1.018, allocations: 0.7385 MB / 1.486 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/1.018, allocations: 304.1 kB / 1.486 GB, free: 14.35 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/1.019, allocations: 0.6169 MB / 1.487 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.019, allocations: 42.5 kB / 1.487 GB, free: 13.55 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 2.345e-06/1.019, allocations: 0 / 1.487 GB, free: 13.55 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.001449/1.02, allocations: 0.9756 MB / 1.488 GB, free: 12.57 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/1.02, allocations: 162.2 kB / 1.488 GB, free: 12.38 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/1.024, allocations: 4.69 MB / 1.492 GB, free: 7.676 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/1.025, allocations: 37.7 kB / 1.492 GB, free: 7.633 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/1.025, allocations: 1.07 MB / 1.493 GB, free: 6.555 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/1.025, allocations: 177.4 kB / 1.494 GB, free: 6.379 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/1.026, allocations: 94.16 kB / 1.494 GB, free: 6.281 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/1.026, allocations: 326 kB / 1.494 GB, free: 5.957 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/1.026, allocations: 225 kB / 1.494 GB, free: 5.738 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/1.026, allocations: 314.9 kB / 1.494 GB, free: 5.398 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/1.027, allocations: 0.561 MB / 1.495 GB, free: 4.805 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.027, allocations: 0 / 1.495 GB, free: 4.805 MB / 1.217 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001032/1.028, allocations: 0.7993 MB / 1.496 GB, free: 3.996 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.028, allocations: 15.94 kB / 1.496 GB, free: 3.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.028, allocations: 0 / 1.496 GB, free: 3.98 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.028, allocations: 8 kB / 1.496 GB, free: 3.973 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/1.029, allocations: 103.8 kB / 1.496 GB, free: 3.871 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.029, allocations: 7.938 kB / 1.496 GB, free: 3.863 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/1.029, allocations: 98.8 kB / 1.496 GB, free: 3.766 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/1.029, allocations: 20 kB / 1.496 GB, free: 3.746 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.0005657/1.03, allocations: 0.5404 MB / 1.497 GB, free: 3.195 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/1.03, allocations: 237 kB / 1.497 GB, free: 2.961 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/1.031, allocations: 0.808 MB / 1.498 GB, free: 2.148 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.031, allocations: 7.938 kB / 1.498 GB, free: 2.141 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.031, allocations: 4 kB / 1.498 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.031, allocations: 3.984 kB / 1.498 GB, free: 2.133 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/1.034, allocations: 2.088 MB / 1.5 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.034, allocations: 0 / 1.5 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/1.034, allocations: 99.83 kB / 1.5 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.034, allocations: 4 kB / 1.5 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/1.034, allocations: 16.19 kB / 1.5 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.034, allocations: 8 kB / 1.5 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.034, allocations: 4 kB / 1.5 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/1.036, allocations: 1.27 MB / 1.501 GB, free: 14.54 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000671/1.036, allocations: 414 kB / 1.501 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.037, allocations: 12 kB / 1.501 GB, free: 14.1 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/1.037, allocations: 23.98 kB / 1.501 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/1.037, allocations: 40.33 kB / 1.501 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/1.037, allocations: 20 kB / 1.502 GB, free: 14.02 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003197/1.041, allocations: 3.506 MB / 1.505 GB, free: 10.5 MB / 1.232 GB Notification: Performance of sort global known variables: time 2e-07/1.041, allocations: 0 / 1.505 GB, free: 10.5 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009425/1.042, allocations: 479 kB / 1.505 GB, free: 10.04 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.002789/1.044, allocations: 2.26 MB / 1.508 GB, free: 7.863 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008154/1.045, allocations: 0.5333 MB / 1.508 GB, free: 7.328 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.045, allocations: 0 / 1.508 GB, free: 7.328 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/1.046, allocations: 290.3 kB / 1.508 GB, free: 7.047 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/1.049, allocations: 0.8519 MB / 1.509 GB, free: 6.199 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/1.069, allocations: 19.34 MB / 1.528 GB, free: 2.594 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.071, allocations: 1.636 MB / 1.53 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001214/1.072, allocations: 466.1 kB / 1.53 GB, free: 480 kB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009838/1.073, allocations: 0.9368 MB / 1.531 GB, free: 15.53 MB / 1.264 GB Notification: Performance of SimCode: time 5.21e-07/1.073, allocations: 0 / 1.531 GB, free: 15.53 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6433/1.716, allocations: 47.53 MB / 1.577 GB, free: 350.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/13.46, allocations: 5.844 kB / 1.577 GB, free: 350.3 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