Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 1.104 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 168.7 MB / 1.269 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002361/1.053, allocations: 1.256 MB / 1.27 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002902/1.054, allocations: 121.5 kB / 1.27 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/1.054, allocations: 0 / 1.27 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/1.054, allocations: 6.688 kB / 1.27 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/1.054, allocations: 9.312 kB / 1.27 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/1.054, allocations: 38.3 kB / 1.27 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/1.054, allocations: 16.55 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/1.054, allocations: 1.969 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/1.054, allocations: 8.094 kB / 1.27 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/1.054, allocations: 8.719 kB / 1.27 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/1.054, allocations: 0.7812 kB / 1.27 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/1.054, allocations: 55.02 kB / 1.27 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/1.054, allocations: 1.5 kB / 1.27 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/1.054, allocations: 6.812 kB / 1.27 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/1.054, allocations: 39.53 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.054, allocations: 0.9688 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.715e-06/1.054, allocations: 0.7969 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.899e-06/1.054, allocations: 0 / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003323/1.055, allocations: 329.1 kB / 1.271 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.055, allocations: 14.75 kB / 1.271 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.216e-05/1.055, allocations: 34.75 kB / 1.271 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/1.055, allocations: 6.25 kB / 1.271 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/1.055, allocations: 179.2 kB / 1.271 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.055, allocations: 1.094 kB / 1.271 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/1.055, allocations: 4.906 kB / 1.271 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.699e-05/1.055, allocations: 30.98 kB / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.055, allocations: 0 / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/1.055, allocations: 1.484 kB / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/1.055, allocations: 0 / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/1.055, allocations: 8.484 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/1.055, allocations: 156.1 kB / 1.271 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/1.055, allocations: 28.09 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/1.055, allocations: 11.53 kB / 1.271 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/1.056, allocations: 0.6022 MB / 1.272 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/1.056, allocations: 36.22 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.056, allocations: 0 / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001297/1.056, allocations: 41.16 kB / 1.272 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/1.056, allocations: 52.89 kB / 1.272 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.132e-05/1.056, allocations: 103.3 kB / 1.272 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/1.056, allocations: 26.73 kB / 1.272 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.344e-05/1.056, allocations: 80.7 kB / 1.272 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/1.056, allocations: 10.5 kB / 1.272 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/1.056, allocations: 20.23 kB / 1.272 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/1.056, allocations: 313.5 kB / 1.272 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/1.056, allocations: 1.562 kB / 1.272 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/1.056, allocations: 3.297 kB / 1.272 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.857e-05/1.056, allocations: 14.95 kB / 1.272 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.056, allocations: 0 / 1.272 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.583e-05/1.056, allocations: 40.5 kB / 1.272 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.056, allocations: 9.219 kB / 1.272 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/1.056, allocations: 0 / 1.272 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.056, allocations: 5.281 kB / 1.272 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/1.056, allocations: 3.281 kB / 1.272 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.056, allocations: 1.406 kB / 1.272 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/1.056, allocations: 0.6094 kB / 1.272 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/1.056, allocations: 1.062 kB / 1.272 GB, free: 4.371 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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 4.302e-05/1.056, allocations: 119.4 kB / 1.272 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/1.056, allocations: 5.375 kB / 1.272 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/1.057, allocations: 48.69 kB / 1.273 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/1.057, allocations: 0.7188 kB / 1.273 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.057, allocations: 4.75 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.057, allocations: 0.6094 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.479e-05/1.057, allocations: 155.7 kB / 1.273 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.057, allocations: 0.6562 kB / 1.273 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/1.057, allocations: 7.719 kB / 1.273 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.057, allocations: 0.8125 kB / 1.273 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/1.057, allocations: 4.516 kB / 1.273 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.057, allocations: 0.8125 kB / 1.273 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.057, allocations: 4.906 kB / 1.273 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.324e-05/1.057, allocations: 64.59 kB / 1.273 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/1.057, allocations: 83.19 kB / 1.273 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/1.057, allocations: 0.9688 kB / 1.273 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/1.057, allocations: 1.297 kB / 1.273 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/1.057, allocations: 6.109 kB / 1.273 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/1.057, allocations: 0.8438 kB / 1.273 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.115e-05/1.057, allocations: 83.27 kB / 1.273 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.057, allocations: 0 / 1.273 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002129/1.057, allocations: 16.41 kB / 1.273 GB, free: 3.734 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.0002797/1.057, allocations: 0.6184 MB / 1.274 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/1.057, allocations: 11.7 kB / 1.274 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.057, allocations: 0 / 1.274 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/1.057, allocations: 4.75 kB / 1.274 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/1.058, allocations: 12.81 kB / 1.274 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/1.059, allocations: 1.093 MB / 1.275 GB, free: 18.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.059, allocations: 0.6742 MB / 1.275 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.116e-05/1.059, allocations: 6.922 kB / 1.275 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/1.059, allocations: 9.031 kB / 1.275 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.059, allocations: 0 / 1.275 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/1.084, allocations: 1.451 MB / 1.277 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/9.103, allocations: 5.016 kB / 1.277 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.538353363983333]