Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_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.0009281/0.0009281, allocations: 96.62 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.005346/0.005346, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.241/1.241, 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 9.1.2-maint.9.1.x/package.mo): time 2.09/2.09, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002845, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.4984, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001073/0.4995, allocations: 1.16 MB / 0.9563 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.5005, allocations: 0.9072 MB / 0.9572 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.5005, allocations: 4 kB / 0.9572 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.5007, allocations: 6.344 kB / 0.9572 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.501, allocations: 105.7 kB / 0.9573 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.5012, allocations: 81.73 kB / 0.9574 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.5013, allocations: 83.5 kB / 0.9575 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.5013, allocations: 10.91 kB / 0.9575 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.5014, allocations: 32.92 kB / 0.9575 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.5015, allocations: 53.56 kB / 0.9575 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.5015, allocations: 3.594 kB / 0.9576 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.5018, allocations: 212 kB / 0.9578 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.5018, allocations: 60.53 kB / 0.9578 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.5019, allocations: 83.47 kB / 0.9579 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.5022, allocations: 276 kB / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5022, allocations: 0 / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5022, allocations: 1.125 kB / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.5022, allocations: 0 / 0.9582 GB, free: 5.547 MB / 0.7169 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.0004653/0.5027, allocations: 490.9 kB / 0.9586 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.5027, allocations: 9.531 kB / 0.9586 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.258e-05/0.5027, allocations: 30.75 kB / 0.9587 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.5028, allocations: 20.91 kB / 0.9587 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.5032, allocations: 0.6523 MB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.5032, allocations: 1.75 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.5032, allocations: 10.67 kB / 0.9593 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.5034, allocations: 75.98 kB / 0.9594 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.5034, allocations: 1.375 kB / 0.9594 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.5034, allocations: 0 / 0.9594 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5034, allocations: 0 / 0.9594 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.5036, allocations: 95.3 kB / 0.9595 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.5038, allocations: 326.6 kB / 0.9598 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.5041, allocations: 124.2 kB / 0.9599 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.5042, allocations: 55.67 kB / 0.96 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.5042, allocations: 23.2 kB / 0.96 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-06/0.5042, allocations: 35.59 kB / 0.96 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5042, allocations: 4 kB / 0.96 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003818/0.5046, allocations: 182.2 kB / 0.9602 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/0.5047, allocations: 52.56 kB / 0.9603 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.5052, allocations: 0.7764 MB / 0.961 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.5053, allocations: 29.64 kB / 0.961 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.5053, allocations: 126.2 kB / 0.9612 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.5053, allocations: 13.02 kB / 0.9612 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.5054, allocations: 11.12 kB / 0.9612 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.5054, allocations: 329 kB / 0.9615 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/0.5055, allocations: 49.38 kB / 0.9616 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.5056, allocations: 66.66 kB / 0.9616 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.5058, allocations: 101.9 kB / 0.9617 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5058, allocations: 0 / 0.9617 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002301/0.5061, allocations: 145.8 kB / 0.9619 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.5061, allocations: 3.688 kB / 0.9619 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5061, allocations: 5.359 kB / 0.9619 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.5061, allocations: 4 kB / 0.9619 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.5062, allocations: 17.45 kB / 0.9619 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.5062, allocations: 1.5 kB / 0.9619 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.5063, allocations: 13.83 kB / 0.9619 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.5063, allocations: 0 / 0.9619 GB, free: 3.008 MB / 0.7169 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 6.556e-05/0.5064, allocations: 136.2 kB / 0.962 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.5064, allocations: 19.66 kB / 0.962 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.5067, allocations: 143.5 kB / 0.9622 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5067, allocations: 9.297 kB / 0.9622 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5067, allocations: 0 / 0.9622 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5067, allocations: 0 / 0.9622 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.5068, allocations: 231.4 kB / 0.9624 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5068, allocations: 1.344 kB / 0.9624 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.5069, allocations: 13.95 kB / 0.9624 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5069, allocations: 0 / 0.9624 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.5069, allocations: 5.281 kB / 0.9624 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5069, allocations: 4 kB / 0.9624 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5069, allocations: 0 / 0.9624 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.5071, allocations: 168.6 kB / 0.9626 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.5072, allocations: 109.3 kB / 0.9627 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.5072, allocations: 2.656 kB / 0.9627 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.5073, allocations: 6.062 kB / 0.9627 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.5073, allocations: 10.86 kB / 0.9627 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.5073, allocations: 3.938 kB / 0.9627 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004185/0.5078, allocations: 0.6208 MB / 0.9633 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5078, allocations: 0 / 0.9633 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002655/0.508, allocations: 68.73 kB / 0.9634 GB, free: 2.031 MB / 0.7169 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.0005143/0.5086, allocations: 0.763 MB / 0.9641 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.5088, allocations: 95.38 kB / 0.9642 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5088, allocations: 0 / 0.9642 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.5089, allocations: 57.05 kB / 0.9643 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.5091, allocations: 16.47 kB / 0.9643 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.5119, allocations: 3.353 MB / 0.9676 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.5122, allocations: 0.7247 MB / 0.9683 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.366e-05/0.5123, allocations: 20.16 kB / 0.9683 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.5123, allocations: 51.5 kB / 0.9684 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5123, allocations: 0 / 0.9684 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.946/2.458, allocations: 4.162 MB / 0.9724 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01317/2.471, allocations: 223 kB / 0.9726 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/4.453, allocations: 0 / 0.9726 GB, free: 12.48 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches