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.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 152 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.001124/0.001124, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.045/2.045, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 59.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4757, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1824/0.6581, allocations: 218.2 MB / 1.163 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02455/0.6827, allocations: 26.46 MB / 1.189 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.6836, allocations: 35.88 kB / 1.189 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.6855, allocations: 1.158 MB / 1.19 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00502/0.6906, allocations: 3.134 MB / 1.193 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.6935, allocations: 1.647 MB / 1.194 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.6964, allocations: 3.849 MB / 1.198 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.6978, allocations: 1.456 MB / 1.2 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.7005, allocations: 2.28 MB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.7018, allocations: 1.471 MB / 1.203 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.702, allocations: 128 kB / 1.203 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.7045, allocations: 1.773 MB / 1.205 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005671/0.705, allocations: 0.8567 MB / 1.206 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008652/0.7059, allocations: 1.177 MB / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.7083, allocations: 2.967 MB / 1.21 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.7083, allocations: 0 / 1.21 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7083, allocations: 0 / 1.21 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.7084, allocations: 4 kB / 1.21 GB, free: 6.305 MB / 0.9669 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.003261/0.7116, allocations: 2.857 MB / 1.213 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7117, allocations: 12.03 kB / 1.213 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.7118, allocations: 202.5 kB / 1.213 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.7133, allocations: 448.3 kB / 1.213 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.7158, allocations: 2.729 MB / 1.216 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.7158, allocations: 94.53 kB / 1.216 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.716, allocations: 128 kB / 1.216 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.7178, allocations: 1.599 MB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.7178, allocations: 11.94 kB / 1.218 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/0.7179, allocations: 48 kB / 1.218 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.303e-05/0.718, allocations: 93.95 kB / 1.218 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.7194, allocations: 1.065 MB / 1.219 GB, free: 12.74 MB / 0.9825 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.005878/0.7253, allocations: 8.487 MB / 1.227 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/0.7262, allocations: 0.7233 MB / 1.228 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.7265, allocations: 312 kB / 1.228 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.727, allocations: 0.6091 MB / 1.229 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.727, allocations: 42.55 kB / 1.229 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 1.623e-06/0.727, allocations: 3.938 kB / 1.229 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.001383/0.7284, allocations: 0.9751 MB / 1.23 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.7285, allocations: 162.2 kB / 1.23 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.7327, allocations: 4.69 MB / 1.235 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.7327, allocations: 34.2 kB / 1.235 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/0.7334, allocations: 1.074 MB / 1.236 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.7336, allocations: 177.4 kB / 1.236 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7337, allocations: 90.16 kB / 1.236 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.7338, allocations: 330 kB / 1.236 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.7341, allocations: 217.1 kB / 1.237 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.7345, allocations: 326.8 kB / 1.237 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.7352, allocations: 0.5571 MB / 1.237 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7352, allocations: 0 / 1.237 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001007/0.7362, allocations: 0.8029 MB / 1.238 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.7362, allocations: 11.94 kB / 1.238 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7362, allocations: 0 / 1.238 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7363, allocations: 8 kB / 1.238 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.7366, allocations: 103.9 kB / 1.238 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.7366, allocations: 7.938 kB / 1.238 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.7372, allocations: 99.14 kB / 1.238 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.7373, allocations: 20 kB / 1.238 GB, free: 8.055 MB / 0.9981 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.0005361/0.7378, allocations: 0.5405 MB / 1.239 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.7381, allocations: 237 kB / 1.239 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.7392, allocations: 0.8079 MB / 1.24 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.7392, allocations: 4 kB / 1.24 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7392, allocations: 4 kB / 1.24 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.7392, allocations: 0 / 1.24 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.7414, allocations: 2.092 MB / 1.242 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7415, allocations: 0 / 1.242 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.7418, allocations: 99.89 kB / 1.242 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7418, allocations: 0 / 1.242 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.7419, allocations: 19.98 kB / 1.242 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.7419, allocations: 7.938 kB / 1.242 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7419, allocations: 4 kB / 1.242 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.7433, allocations: 1.27 MB / 1.243 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.7438, allocations: 417.9 kB / 1.244 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.744, allocations: 15.94 kB / 1.244 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.7446, allocations: 19.98 kB / 1.244 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.7447, allocations: 40.33 kB / 1.244 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.7447, allocations: 23.88 kB / 1.244 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.3537/1.098, allocations: 3.503 MB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.098, allocations: 0 / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001333/1.1, allocations: 475.5 kB / 1.248 GB, free: 285.7 MB / 0.9981 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.002677/1.103, allocations: 2.24 MB / 1.25 GB, free: 284.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009923/1.104, allocations: 0.6042 MB / 1.251 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.104, allocations: 8.594 kB / 1.251 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/1.104, allocations: 289.1 kB / 1.251 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/1.107, allocations: 0.8633 MB / 1.252 GB, free: 284.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/1.127, allocations: 21.39 MB / 1.273 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/1.128, allocations: 1.637 MB / 1.274 GB, free: 272.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001284/1.129, allocations: 476.4 kB / 1.275 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/1.13, allocations: 0.9427 MB / 1.276 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.13, allocations: 3.938 kB / 1.276 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06623/1.196, allocations: 48.68 MB / 1.323 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/8.766, allocations: 12.05 kB / 1.323 GB, free: 227.2 MB / 0.9981 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