Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.Orifice,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice",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.0008676/0.0008676, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004997/0.004997, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.27/2.27, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5391, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1527/0.6919, allocations: 169.3 MB / 1.188 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003286/0.6952, allocations: 2.289 MB / 1.191 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.6957, allocations: 11.94 kB / 1.191 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.6963, allocations: 186.9 kB / 1.191 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.6982, allocations: 0.8792 MB / 1.192 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.6999, allocations: 0.7515 MB / 1.193 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.7013, allocations: 1.348 MB / 1.194 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.7018, allocations: 274.3 kB / 1.194 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.7025, allocations: 410.3 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.703, allocations: 318.6 kB / 1.195 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.213e-05/0.703, allocations: 20 kB / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.7047, allocations: 1.161 MB / 1.196 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.7049, allocations: 131.5 kB / 1.196 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.7051, allocations: 244.5 kB / 1.196 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.7064, allocations: 0.9502 MB / 1.197 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.7064, allocations: 4 kB / 1.197 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7064, allocations: 0 / 1.197 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.7064, allocations: 0 / 1.197 GB, free: 12.92 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009941/0.7074, allocations: 0.7322 MB / 1.198 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7074, allocations: 8.031 kB / 1.198 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.7075, allocations: 62.55 kB / 1.198 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.7086, allocations: 183.2 kB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.7091, allocations: 377.4 kB / 1.199 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.7091, allocations: 24.66 kB / 1.199 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.7091, allocations: 28 kB / 1.199 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.7097, allocations: 385.1 kB / 1.199 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7097, allocations: 0 / 1.199 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.7098, allocations: 15.94 kB / 1.199 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.7098, allocations: 12 kB / 1.199 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.7103, allocations: 270 kB / 1.199 GB, free: 10.72 MB / 0.9512 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.001564/0.7118, allocations: 1.671 MB / 1.201 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.7122, allocations: 214.5 kB / 1.201 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.7124, allocations: 120.8 kB / 1.201 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/0.7133, allocations: 0.8857 MB / 1.202 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.7134, allocations: 34.55 kB / 1.202 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.7134, allocations: 0 / 1.202 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008133/0.7142, allocations: 379.8 kB / 1.202 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.7142, allocations: 55.39 kB / 1.203 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.7146, allocations: 422 kB / 1.203 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.7147, allocations: 29.7 kB / 1.203 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.7148, allocations: 216.3 kB / 1.203 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.7149, allocations: 82.75 kB / 1.203 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.7149, allocations: 29.7 kB / 1.203 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.715, allocations: 350.7 kB / 1.204 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.7152, allocations: 87.94 kB / 1.204 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.7154, allocations: 128.5 kB / 1.204 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.7158, allocations: 223.2 kB / 1.204 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7158, allocations: 112 / 1.204 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004776/0.7163, allocations: 296.8 kB / 1.204 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7163, allocations: 8 kB / 1.204 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7163, allocations: 0 / 1.204 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7164, allocations: 8.031 kB / 1.204 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.7166, allocations: 59.91 kB / 1.204 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7166, allocations: 7.938 kB / 1.204 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.7168, allocations: 39.67 kB / 1.204 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.7169, allocations: 8 kB / 1.204 GB, free: 5.012 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001422/0.717, allocations: 173.7 kB / 1.205 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.7171, allocations: 39.53 kB / 1.205 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.7176, allocations: 289.2 kB / 1.205 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7177, allocations: 7.984 kB / 1.205 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7177, allocations: 7.938 kB / 1.205 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.7177, allocations: 0 / 1.205 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.7188, allocations: 0.8191 MB / 1.206 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7188, allocations: 0 / 1.206 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.719, allocations: 51.97 kB / 1.206 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.719, allocations: 0 / 1.206 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.719, allocations: 4.188 kB / 1.206 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.719, allocations: 11.94 kB / 1.206 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.719, allocations: 0 / 1.206 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.7198, allocations: 0.5251 MB / 1.206 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7199, allocations: 144.5 kB / 1.206 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.72, allocations: 15.98 kB / 1.206 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.7202, allocations: 19.98 kB / 1.206 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.7203, allocations: 27.91 kB / 1.206 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.7203, allocations: 4 kB / 1.206 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002735/0.7206, allocations: 311.1 kB / 1.207 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7206, allocations: 0 / 1.207 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003789/0.721, allocations: 115.8 kB / 1.207 GB, free: 2.324 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001173/0.7222, allocations: 1.159 MB / 1.208 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.7226, allocations: 219.7 kB / 1.208 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7226, allocations: 0 / 1.208 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.7228, allocations: 122.6 kB / 1.208 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.724, allocations: 213.2 kB / 1.209 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.7284, allocations: 3.956 MB / 1.212 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.7287, allocations: 0.8269 MB / 1.213 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002572/0.729, allocations: 79.34 kB / 1.213 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.7291, allocations: 143.4 kB / 1.213 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.7291, allocations: 0 / 1.213 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.362/1.091, allocations: 11.37 MB / 1.225 GB, free: 316 kB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.091, allocations: 228.8 kB / 1.225 GB, free: 60 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.951, allocations: 0 / 1.225 GB, free: 60 kB / 0.9669 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches