Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.0008798/0.0008798, 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.0009673/0.0009673, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8718/0.8718, allocations: 177.2 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.61/1.61, allocations: 359 MB / 0.6037 GB, free: 11.08 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.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.846e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001765/0.001793, allocations: 1.31 MB / 0.9518 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003948/0.002188, allocations: 271 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.002216, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.002235, allocations: 3.984 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.472e-05/0.00233, allocations: 15.86 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.002602, allocations: 79.66 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.002672, allocations: 35.8 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.002716, allocations: 7.984 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.002833, allocations: 35.91 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.002881, allocations: 11.98 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.002898, allocations: 0 / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.003024, allocations: 75.91 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.00304, allocations: 4 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.003057, allocations: 7.938 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.003206, allocations: 91.75 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003208, allocations: 0 / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003209, allocations: 4 kB / 0.9524 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.003213, allocations: 0 / 0.9524 GB, free: 1.555 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000332/0.003545, allocations: 278.1 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.003585, allocations: 8.031 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.003613, allocations: 38.67 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.003639, allocations: 4.938 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.003733, allocations: 117.7 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003744, allocations: 4.375 kB / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.003751, allocations: 384 / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.003854, allocations: 67.7 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.003861, allocations: 4 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.003869, allocations: 0 / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.003874, allocations: 0 / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.003908, allocations: 12 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.004034, allocations: 124.8 kB / 0.953 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.831e-05/0.004112, allocations: 42.48 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.004131, allocations: 8.922 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003921/0.004523, allocations: 147.9 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004544, allocations: 34.5 kB / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.004546, allocations: 0 / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.004678, allocations: 57.58 kB / 0.9533 GB, free: 492 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.004702, allocations: 51.41 kB / 0.9533 GB, free: 428 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.00475, allocations: 105.8 kB / 0.9534 GB, free: 312 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.004762, allocations: 29.7 kB / 0.9535 GB, free: 276 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.004802, allocations: 84.14 kB / 0.9535 GB, free: 188 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.004824, allocations: 11.89 kB / 0.9536 GB, free: 176 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.004849, allocations: 17.72 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.005, allocations: 314.8 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.005013, allocations: 4 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-06/0.005022, allocations: 4 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.005049, allocations: 16.86 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005051, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.974e-05/0.005101, allocations: 61.83 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.005113, allocations: 7.938 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005118, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.005128, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.005172, allocations: 19.98 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.005177, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.005188, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.005192, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 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 5.588e-05/0.005248, allocations: 113.8 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.005254, allocations: 3.938 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.005352, allocations: 54 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005354, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.005358, allocations: 4 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.005361, allocations: 3.984 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.553e-05/0.005426, allocations: 128.7 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005427, allocations: 0 / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.005439, allocations: 7.984 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.005441, allocations: 7.875 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005448, allocations: 8 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.00545, allocations: 3.984 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.00545, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.283e-05/0.005503, allocations: 73.08 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.005528, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.005537, allocations: 11.94 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.00556, allocations: 3.984 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.005572, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.005576, allocations: 4 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.005601, allocations: 83.28 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005601, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001376/0.005739, allocations: 31.86 kB / 0.9545 GB, free: 15.09 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 (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.0003107/0.006049, allocations: 0.6473 MB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.622e-05/0.006116, allocations: 19.98 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.006117, allocations: 4 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-06/0.006126, allocations: 7.938 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.006286, allocations: 6.344 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.00662, allocations: 158.4 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.006657, allocations: 67.25 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.006685, allocations: 4 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.00671, allocations: 12.5 kB / 0.9554 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.00671, allocations: 3.938 kB / 0.9554 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02192, allocations: 2.285 MB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.21, allocations: 5.984 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.099084273912013]