Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.000854/0.000854, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005248/0.005248, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 7.875 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.225, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1419/0.3669, allocations: 169.3 MB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.3699, allocations: 2.295 MB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.3702, allocations: 7.938 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.3707, allocations: 186.9 kB / 1.227 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.3722, allocations: 0.8753 MB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.3737, allocations: 0.7555 MB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.3748, allocations: 1.341 MB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.3752, allocations: 274.4 kB / 1.23 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.3757, allocations: 418.3 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.376, allocations: 318.6 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.3761, allocations: 16 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3775, allocations: 1.169 MB / 1.232 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3777, allocations: 139.6 kB / 1.232 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3779, allocations: 244.5 kB / 1.232 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009755/0.3788, allocations: 0.9463 MB / 1.233 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3789, allocations: 0 / 1.233 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3789, allocations: 3.938 kB / 1.233 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3789, allocations: 0 / 1.233 GB, free: 1.938 MB / 0.9825 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.0009392/0.3798, allocations: 0.7206 MB / 1.234 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3799, allocations: 15.97 kB / 1.234 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.3799, allocations: 66.53 kB / 1.234 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.381, allocations: 179.2 kB / 1.234 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.3814, allocations: 385.3 kB / 1.234 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3815, allocations: 20.66 kB / 1.234 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.3815, allocations: 32 kB / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.382, allocations: 373.1 kB / 1.235 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3821, allocations: 0 / 1.235 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.3821, allocations: 15.94 kB / 1.235 GB, free: 24 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3821, allocations: 15.98 kB / 1.235 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.3826, allocations: 273.9 kB / 1.235 GB, free: 15.74 MB / 0.9981 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.001468/0.3841, allocations: 1.683 MB / 1.237 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.3844, allocations: 202.5 kB / 1.237 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.3846, allocations: 124.8 kB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008574/0.3855, allocations: 0.8779 MB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3856, allocations: 38.56 kB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.3856, allocations: 0 / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0007941/0.3864, allocations: 374.1 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.3864, allocations: 55.41 kB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3868, allocations: 425.9 kB / 1.239 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3868, allocations: 33.7 kB / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3869, allocations: 212.2 kB / 1.239 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.387, allocations: 78.83 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.387, allocations: 29.7 kB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3872, allocations: 354.8 kB / 1.239 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.3873, allocations: 83.89 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3875, allocations: 140 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.3879, allocations: 218 kB / 1.24 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3879, allocations: 0 / 1.24 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004737/0.3884, allocations: 301 kB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3884, allocations: 13.64 kB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3884, allocations: 4 kB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.3885, allocations: 0 / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3887, allocations: 47.98 kB / 1.24 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3887, allocations: 7.922 kB / 1.24 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3889, allocations: 47.67 kB / 1.24 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3889, allocations: 11.94 kB / 1.24 GB, free: 10.02 MB / 0.9981 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.0001375/0.3891, allocations: 153.8 kB / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.3891, allocations: 39.53 kB / 1.24 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.3897, allocations: 311.9 kB / 1.241 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3897, allocations: 4 kB / 1.241 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3897, allocations: 3.938 kB / 1.241 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3897, allocations: 3.984 kB / 1.241 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.3908, allocations: 0.8152 MB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3908, allocations: 4 kB / 1.241 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.391, allocations: 48.11 kB / 1.241 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.391, allocations: 4 kB / 1.241 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.391, allocations: 11.98 kB / 1.241 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.391, allocations: 0 / 1.241 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.391, allocations: 4 kB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.3917, allocations: 0.5231 MB / 1.242 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.3919, allocations: 144.6 kB / 1.242 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.3919, allocations: 4 kB / 1.242 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.3922, allocations: 27.97 kB / 1.242 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3923, allocations: 23.92 kB / 1.242 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3923, allocations: 11.98 kB / 1.242 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00026/0.3925, allocations: 299.1 kB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3925, allocations: 0 / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003788/0.3929, allocations: 119.8 kB / 1.243 GB, free: 7.344 MB / 0.9981 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.001139/0.3941, allocations: 1.157 MB / 1.244 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3945, allocations: 214.4 kB / 1.244 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3945, allocations: 0 / 1.244 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.3947, allocations: 131.8 kB / 1.244 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.3958, allocations: 216.4 kB / 1.244 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.4001, allocations: 3.939 MB / 1.248 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.4004, allocations: 0.8347 MB / 1.249 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.4006, allocations: 83.36 kB / 1.249 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.4008, allocations: 139.4 kB / 1.249 GB, free: 476 kB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.4008, allocations: 0 / 1.249 GB, free: 476 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.825/4.225, allocations: 11.36 MB / 1.26 GB, free: 191 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/4.226, allocations: 244.7 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/6.421, allocations: 0 / 1.26 GB, free: 190.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches