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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.371/2.371, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.36 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2287, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.6234/0.8521, allocations: 215.9 MB / 1.263 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.8753, allocations: 26.71 MB / 1.289 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.877, allocations: 29.06 kB / 1.289 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.8793, allocations: 1.019 MB / 1.29 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006268/0.8856, allocations: 2.948 MB / 1.293 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.8887, allocations: 1.505 MB / 1.294 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004905/0.8936, allocations: 5.844 MB / 1.3 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.895, allocations: 1.23 MB / 1.301 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.8986, allocations: 2.071 MB / 1.303 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.9001, allocations: 1.555 MB / 1.305 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.9003, allocations: 86.16 kB / 1.305 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.9039, allocations: 2.122 MB / 1.307 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005751/0.9045, allocations: 0.8263 MB / 1.308 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009031/0.9054, allocations: 1.137 MB / 1.309 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.908, allocations: 3.069 MB / 1.312 GB, free: 296 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.908, allocations: 0 / 1.312 GB, free: 296 kB / 0.9981 GB Notification: Performance of FrontEnd: time 8.02e-07/0.908, allocations: 0 / 1.312 GB, free: 296 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.908, allocations: 0 / 1.312 GB, free: 296 kB / 0.9981 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.003469/0.9115, allocations: 2.862 MB / 1.315 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.9115, allocations: 13.53 kB / 1.315 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.9117, allocations: 196.5 kB / 1.315 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.9133, allocations: 446.9 kB / 1.315 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.9156, allocations: 2.735 MB / 1.318 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.9156, allocations: 95.91 kB / 1.318 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.9157, allocations: 127.6 kB / 1.318 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.9175, allocations: 1.594 MB / 1.32 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.9175, allocations: 4.688 kB / 1.32 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/0.9176, allocations: 63.94 kB / 1.32 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/0.9177, allocations: 89.23 kB / 1.32 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.919, allocations: 1.05 MB / 1.321 GB, free: 13.62 MB / 1.014 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.00559/0.9246, allocations: 8.447 MB / 1.329 GB, free: 8.316 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.9254, allocations: 0.7354 MB / 1.33 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.9257, allocations: 305 kB / 1.33 GB, free: 8.141 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004378/0.9262, allocations: 0.6073 MB / 1.331 GB, free: 7.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.9262, allocations: 47.56 kB / 1.331 GB, free: 7.438 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 1.794e-06/0.9262, allocations: 0 / 1.331 GB, free: 7.438 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.001283/0.9275, allocations: 0.969 MB / 1.332 GB, free: 7.273 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.9276, allocations: 170.4 kB / 1.332 GB, free: 7.082 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/0.9314, allocations: 4.686 MB / 1.337 GB, free: 6.863 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.9315, allocations: 38.48 kB / 1.337 GB, free: 6.832 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006189/0.9321, allocations: 1.067 MB / 1.338 GB, free: 6.617 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.9322, allocations: 183 kB / 1.338 GB, free: 6.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.9324, allocations: 91.88 kB / 1.338 GB, free: 6.484 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.9325, allocations: 325.2 kB / 1.338 GB, free: 6.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.9328, allocations: 220.7 kB / 1.338 GB, free: 6.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.9331, allocations: 320.5 kB / 1.339 GB, free: 6.086 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.9338, allocations: 0.5646 MB / 1.339 GB, free: 5.984 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9338, allocations: 3.031 kB / 1.339 GB, free: 5.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009713/0.9348, allocations: 0.7989 MB / 1.34 GB, free: 5.816 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.9348, allocations: 9.781 kB / 1.34 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9348, allocations: 2.625 kB / 1.34 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.9348, allocations: 4.312 kB / 1.34 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.9352, allocations: 105.4 kB / 1.34 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.9352, allocations: 8.844 kB / 1.34 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/0.9361, allocations: 156.6 kB / 1.34 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.9361, allocations: 23.3 kB / 1.34 GB, free: 5.75 MB / 1.014 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.0005093/0.9366, allocations: 0.5398 MB / 1.341 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.9369, allocations: 231.9 kB / 1.341 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.938, allocations: 0.8012 MB / 1.342 GB, free: 5.434 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.938, allocations: 15.25 kB / 1.342 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.938, allocations: 3.938 kB / 1.342 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.938, allocations: 6.594 kB / 1.342 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.9404, allocations: 2.084 MB / 1.344 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.9404, allocations: 2.469 kB / 1.344 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.9407, allocations: 104.9 kB / 1.344 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.9408, allocations: 3.312 kB / 1.344 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.9408, allocations: 14.75 kB / 1.344 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.9408, allocations: 2.031 kB / 1.344 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9408, allocations: 3.594 kB / 1.344 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.9422, allocations: 1.272 MB / 1.345 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.9427, allocations: 420.6 kB / 1.346 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.943, allocations: 9.281 kB / 1.346 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.9437, allocations: 86.56 kB / 1.346 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.9438, allocations: 46.11 kB / 1.346 GB, free: 4.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.9438, allocations: 16.7 kB / 1.346 GB, free: 4.234 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002709/0.9465, allocations: 3.51 MB / 1.349 GB, free: 4.086 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9466, allocations: 0 / 1.349 GB, free: 4.086 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009243/0.9475, allocations: 468.3 kB / 1.35 GB, free: 4.031 MB / 1.014 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.002609/0.9501, allocations: 2.259 MB / 1.352 GB, free: 3.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007188/0.9508, allocations: 0.5276 MB / 1.353 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9508, allocations: 3.375 kB / 1.353 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.9512, allocations: 290.2 kB / 1.353 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.9542, allocations: 0.8299 MB / 1.354 GB, free: 2.969 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/0.9766, allocations: 21.92 MB / 1.375 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.9776, allocations: 1.634 MB / 1.377 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001288/0.9789, allocations: 470.1 kB / 1.377 GB, free: 4.703 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00091/0.9799, allocations: 0.9367 MB / 1.378 GB, free: 3.766 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.9799, allocations: 0 / 1.378 GB, free: 3.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5761/1.556, allocations: 47.16 MB / 1.424 GB, free: 5.199 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.556, allocations: 252.1 kB / 1.424 GB, free: 4.945 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/4.049, allocations: 0 / 1.424 GB, free: 4.945 MB / 1.076 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