Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.00476/0.00476, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001079/0.001079, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 60.12 kB / 1.054 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3016, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002628/0.3043, allocations: 1.441 MB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3058, allocations: 0.8846 MB / 1.21 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.3058, allocations: 4 kB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.306, allocations: 7.922 kB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005921/0.3066, allocations: 139.6 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.3069, allocations: 103.7 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.307, allocations: 67.77 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3071, allocations: 7.984 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3072, allocations: 31.91 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3073, allocations: 47.83 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3074, allocations: 4 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.3077, allocations: 231.7 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.3078, allocations: 55.81 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.3079, allocations: 59.59 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3083, allocations: 283.5 kB / 1.211 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3083, allocations: 4 kB / 1.211 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3083, allocations: 0 / 1.211 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3084, allocations: 0 / 1.211 GB, free: 6.824 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000772/0.3091, allocations: 0.4905 MB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3092, allocations: 12.62 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.3092, allocations: 34.69 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.3093, allocations: 16.75 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.3099, allocations: 0.6588 MB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.31, allocations: 8.125 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.31, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3102, allocations: 73.66 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3102, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3102, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3102, allocations: 3.938 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.3104, allocations: 75.94 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.3108, allocations: 329.6 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.311, allocations: 118.4 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3112, allocations: 48.83 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.3112, allocations: 15.98 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3112, allocations: 34.56 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3113, allocations: 4 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004238/0.3117, allocations: 169.3 kB / 1.213 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3117, allocations: 51.41 kB / 1.213 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.3124, allocations: 0.7742 MB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3124, allocations: 25.7 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.3125, allocations: 128.1 kB / 1.214 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.3126, allocations: 15.91 kB / 1.214 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.3126, allocations: 13.72 kB / 1.214 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3127, allocations: 330.8 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/0.3128, allocations: 39.97 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.313, allocations: 58.55 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3132, allocations: 88.83 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3132, allocations: 7.922 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002683/0.3135, allocations: 133.3 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3135, allocations: 4 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3135, allocations: 0 / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3135, allocations: 0 / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.3136, allocations: 11.98 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3136, allocations: 4 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3137, allocations: 20.25 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3137, allocations: 0 / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001063/0.3138, allocations: 133.8 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.3139, allocations: 15.81 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.3142, allocations: 150.8 kB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3142, allocations: 4 kB / 1.215 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3142, allocations: 0 / 1.215 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3142, allocations: 0 / 1.215 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.3144, allocations: 233.5 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3144, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.3145, allocations: 11.94 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3145, allocations: 3.984 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.3145, allocations: 0 / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3145, allocations: 0 / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3145, allocations: 0 / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.3148, allocations: 160.8 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.3149, allocations: 104.8 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3149, allocations: 0 / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.315, allocations: 7.984 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3151, allocations: 15.88 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3151, allocations: 0 / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000499/0.3156, allocations: 0.6214 MB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3156, allocations: 0 / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003198/0.3159, allocations: 72 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0007254/0.3166, allocations: 0.7372 MB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3169, allocations: 99.86 kB / 1.217 GB, free: 344 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3169, allocations: 0 / 1.217 GB, free: 344 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.317, allocations: 39.97 kB / 1.217 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3173, allocations: 16.03 kB / 1.217 GB, free: 288 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.3207, allocations: 3.313 MB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.321, allocations: 0.724 MB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.412e-05/0.3211, allocations: 25 kB / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.3212, allocations: 54.78 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.3212, allocations: 4 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3436, allocations: 4.654 MB / 1.225 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.027, allocations: 21.72 kB / 1.225 GB, free: 7.539 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches