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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.453e-06/1.453e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.75e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001729/0.001746, allocations: 1.279 MB / 0.9517 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000251/0.001997, allocations: 111.5 kB / 0.9518 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.002023, allocations: 0 / 0.9518 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.00204, allocations: 4 kB / 0.9518 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.002104, allocations: 0 / 0.9518 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.002301, allocations: 39.81 kB / 0.9519 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.00235, allocations: 15.94 kB / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.002389, allocations: 3.984 kB / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.002422, allocations: 4 kB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.002472, allocations: 15.92 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.002485, allocations: 0 / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.00258, allocations: 43.95 kB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.002594, allocations: 4 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.002609, allocations: 3.984 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.00272, allocations: 51.86 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002722, allocations: 0 / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002723, allocations: 0 / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.002727, allocations: 3.938 kB / 0.952 GB, free: 1.906 MB / 0.9011 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.0002997/0.003027, allocations: 262.2 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.003065, allocations: 11.97 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.003093, allocations: 34.75 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.927e-05/0.003112, allocations: 4.938 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.003198, allocations: 105.8 kB / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.003208, allocations: 8.312 kB / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.003215, allocations: 384 / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.894e-05/0.003284, allocations: 38 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.00329, allocations: 0 / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.003298, allocations: 0 / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.003302, allocations: 0 / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.00333, allocations: 12 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.003441, allocations: 116.8 kB / 0.9526 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.003488, allocations: 30.5 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.003503, allocations: 8.922 kB / 0.9526 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.00379, allocations: 83.91 kB / 0.9527 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.003812, allocations: 38.5 kB / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.003813, allocations: 0 / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.003945, allocations: 41.81 kB / 0.9528 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.00397, allocations: 63.34 kB / 0.9528 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.878e-05/0.004019, allocations: 93.86 kB / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.004027, allocations: 25.7 kB / 0.953 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.15e-05/0.004049, allocations: 80.14 kB / 0.953 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.004071, allocations: 11.94 kB / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.004098, allocations: 13.72 kB / 0.9531 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.004162, allocations: 310.8 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.004173, allocations: 4 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-06/0.00418, allocations: 4 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.004203, allocations: 16.92 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004204, allocations: 0 / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.108e-05/0.004245, allocations: 45.62 kB / 0.9534 GB, free: 284 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.004257, allocations: 7.938 kB / 0.9534 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004261, allocations: 0 / 0.9534 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.004272, allocations: 0 / 0.9534 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.004315, allocations: 8 kB / 0.9534 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.004319, allocations: 0 / 0.9534 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.00433, allocations: 0 / 0.9534 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.004333, allocations: 4 kB / 0.9534 GB, free: 264 kB / 0.9011 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.519e-05/0.004378, allocations: 109.9 kB / 0.9535 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-06/0.004382, allocations: 3.938 kB / 0.9535 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.004448, allocations: 52.94 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00445, allocations: 3.938 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.004454, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004456, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.004531, allocations: 124.8 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.004532, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.004544, allocations: 7.938 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.004547, allocations: 3.938 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.004552, allocations: 0 / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.004554, allocations: 4.031 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004555, allocations: 0 / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.034e-05/0.004605, allocations: 69.08 kB / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.004611, allocations: 0 / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.00462, allocations: 3.938 kB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.004627, allocations: 4 kB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.004639, allocations: 3.984 kB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.004641, allocations: 0 / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.004665, allocations: 79.28 kB / 0.9539 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004665, allocations: 0 / 0.9539 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001283/0.004793, allocations: 23.97 kB / 0.9539 GB, free: 15.7 MB / 0.9167 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.000263/0.005056, allocations: 0.6201 MB / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/0.005117, allocations: 15.98 kB / 0.9545 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.005119, allocations: 0 / 0.9545 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.005125, allocations: 7.938 kB / 0.9545 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.005305, allocations: 9.891 kB / 0.9545 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.005958, allocations: 1.094 MB / 0.9556 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.005989, allocations: 55.36 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.006011, allocations: 7.984 kB / 0.9557 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.006035, allocations: 8.5 kB / 0.9557 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.006036, allocations: 0 / 0.9557 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.02235, allocations: 2.123 MB / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.186, allocations: 3.25 kB / 0.9578 GB, free: 11.76 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.226601361297071]