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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006802/0.006802, allocations: 100.2 kB / 15.73 MB, free: 6.445 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.001539/0.001539, allocations: 195.1 kB / 16.67 MB, free: 6.352 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.84 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2816, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7836/1.065, allocations: 173.8 MB / 1.336 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004206/1.069, allocations: 2.3 MB / 1.338 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/1.07, allocations: 13.88 kB / 1.338 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/1.071, allocations: 238 kB / 1.338 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/1.074, allocations: 0.9736 MB / 1.339 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/1.076, allocations: 0.8351 MB / 1.34 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001465/1.078, allocations: 0.972 MB / 1.341 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/1.078, allocations: 333.1 kB / 1.341 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009603/1.079, allocations: 470.4 kB / 1.342 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/1.08, allocations: 308.7 kB / 1.342 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/1.08, allocations: 33.31 kB / 1.342 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/1.082, allocations: 0.9959 MB / 1.343 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/1.082, allocations: 147.5 kB / 1.343 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004443/1.082, allocations: 237.2 kB / 1.344 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/1.084, allocations: 0.9064 MB / 1.344 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.084, allocations: 4 kB / 1.344 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/1.084, allocations: 0 / 1.344 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.152e-05/1.084, allocations: 4 kB / 1.344 GB, free: 10.32 MB / 1.029 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.001626/1.086, allocations: 0.8192 MB / 1.345 GB, free: 9.676 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.086, allocations: 10.03 kB / 1.345 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.384e-05/1.086, allocations: 67.03 kB / 1.345 GB, free: 9.617 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/1.088, allocations: 188.5 kB / 1.345 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/1.088, allocations: 395.9 kB / 1.346 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/1.088, allocations: 20.47 kB / 1.346 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/1.088, allocations: 36.53 kB / 1.346 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/1.089, allocations: 371.7 kB / 1.346 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.089, allocations: 4 kB / 1.346 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/1.089, allocations: 11.28 kB / 1.346 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/1.089, allocations: 14.62 kB / 1.346 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/1.089, allocations: 261.5 kB / 1.347 GB, free: 8.953 MB / 1.029 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.001711/1.091, allocations: 1.678 MB / 1.348 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/1.092, allocations: 203.6 kB / 1.348 GB, free: 7.504 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/1.092, allocations: 112.4 kB / 1.348 GB, free: 7.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009092/1.093, allocations: 0.8696 MB / 1.349 GB, free: 6.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.093, allocations: 37.25 kB / 1.349 GB, free: 6.477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/1.093, allocations: 4 kB / 1.349 GB, free: 6.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008725/1.094, allocations: 352.1 kB / 1.35 GB, free: 6.344 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/1.094, allocations: 53.69 kB / 1.35 GB, free: 6.281 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/1.094, allocations: 423.2 kB / 1.35 GB, free: 6.082 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/1.094, allocations: 30.73 kB / 1.35 GB, free: 6.047 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.094, allocations: 219.2 kB / 1.35 GB, free: 5.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/1.094, allocations: 87.97 kB / 1.35 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/1.094, allocations: 54.58 kB / 1.351 GB, free: 5.758 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.095, allocations: 358.6 kB / 1.351 GB, free: 5.422 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/1.095, allocations: 75.77 kB / 1.351 GB, free: 5.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/1.095, allocations: 126.5 kB / 1.351 GB, free: 5.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/1.095, allocations: 206.6 kB / 1.351 GB, free: 5.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.095, allocations: 0 / 1.351 GB, free: 5.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005077/1.096, allocations: 286 kB / 1.352 GB, free: 5.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.096, allocations: 9.844 kB / 1.352 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.096, allocations: 1.25 kB / 1.352 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.096, allocations: 2.125 kB / 1.352 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/1.096, allocations: 50.3 kB / 1.352 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/1.096, allocations: 6.094 kB / 1.352 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/1.096, allocations: 38.14 kB / 1.352 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/1.096, allocations: 11.41 kB / 1.352 GB, free: 5.082 MB / 1.029 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.0001509/1.097, allocations: 159.4 kB / 1.352 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/1.097, allocations: 49.25 kB / 1.352 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/1.097, allocations: 283.2 kB / 1.352 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.097, allocations: 3.281 kB / 1.352 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.097, allocations: 0.5 kB / 1.352 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/1.097, allocations: 5.156 kB / 1.352 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/1.098, allocations: 0.8127 MB / 1.353 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.098, allocations: 4.438 kB / 1.353 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/1.099, allocations: 45.38 kB / 1.353 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.099, allocations: 2.906 kB / 1.353 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.099, allocations: 12.34 kB / 1.353 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/1.099, allocations: 8.016 kB / 1.353 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.099, allocations: 6.125 kB / 1.353 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/1.1, allocations: 0.5095 MB / 1.353 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/1.1, allocations: 149.4 kB / 1.354 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/1.1, allocations: 7.25 kB / 1.354 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/1.1, allocations: 12.09 kB / 1.354 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/1.1, allocations: 27.72 kB / 1.354 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/1.1, allocations: 10.81 kB / 1.354 GB, free: 3.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002991/1.1, allocations: 303.7 kB / 1.354 GB, free: 3.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 1.375 kB / 1.354 GB, free: 3.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004684/1.101, allocations: 113.1 kB / 1.354 GB, free: 3.613 MB / 1.029 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.001262/1.102, allocations: 1.13 MB / 1.355 GB, free: 2.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004777/1.103, allocations: 212 kB / 1.355 GB, free: 2.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.103, allocations: 4.062 kB / 1.355 GB, free: 2.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.103, allocations: 109.7 kB / 1.355 GB, free: 2.648 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.104, allocations: 239.9 kB / 1.356 GB, free: 2.574 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/1.109, allocations: 3.694 MB / 1.359 GB, free: 316 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.109, allocations: 0.8222 MB / 1.36 GB, free: 15.61 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003217/1.109, allocations: 84.73 kB / 1.36 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/1.11, allocations: 141.2 kB / 1.36 GB, free: 15.48 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/1.11, allocations: 0 / 1.36 GB, free: 15.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04679/1.156, allocations: 12.11 MB / 1.372 GB, free: 10.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/9.029, allocations: 7.031 kB / 1.372 GB, free: 10.2 MB / 1.045 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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