Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001431/0.001431, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00159/0.00159, allocations: 169 kB / 23.27 MB, free: 1.223 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.8968/0.8968, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.309/2.309, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.545e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002468/0.002494, allocations: 1.341 MB / 0.8911 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004956/0.002989, allocations: 267 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.003025, allocations: 0 / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.003045, allocations: 0 / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.003149, allocations: 15.86 kB / 0.8913 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.003422, allocations: 63.67 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.00349, allocations: 39.84 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.003523, allocations: 0 / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.003665, allocations: 43.89 kB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.003708, allocations: 7.938 kB / 0.8915 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.003724, allocations: 4 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.003867, allocations: 67.91 kB / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.003882, allocations: 0 / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.003898, allocations: 7.938 kB / 0.8915 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.004052, allocations: 83.77 kB / 0.8916 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004054, allocations: 0 / 0.8916 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004055, allocations: 4 kB / 0.8916 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.004058, allocations: 3.938 kB / 0.8916 GB, free: 7.777 MB / 0.8542 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.0003241/0.004383, allocations: 380.4 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.004424, allocations: 8.625 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.004774, allocations: 60.73 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.493e-05/0.004859, allocations: 112.6 kB / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.004874, allocations: 384 / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.004886, allocations: 8.375 kB / 0.8922 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.005028, allocations: 92.62 kB / 0.8923 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.005036, allocations: 3.938 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.005045, allocations: 0 / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.00505, allocations: 0 / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.005098, allocations: 19.92 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.005401, allocations: 248.3 kB / 0.8925 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.005458, allocations: 35.06 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.005479, allocations: 15.73 kB / 0.8926 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.005495, allocations: 4 kB / 0.8926 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.005522, allocations: 41.33 kB / 0.8926 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.005523, allocations: 0 / 0.8926 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.005672, allocations: 49.62 kB / 0.8927 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.005699, allocations: 51.41 kB / 0.8927 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.005773, allocations: 165.9 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.005785, allocations: 25.7 kB / 0.8929 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.005829, allocations: 130.9 kB / 0.893 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.005847, allocations: 7.953 kB / 0.893 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.005884, allocations: 23.36 kB / 0.8931 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.006009, allocations: 496.2 kB / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.006026, allocations: 7.984 kB / 0.8935 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.00604, allocations: 4 kB / 0.8935 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.006072, allocations: 11.69 kB / 0.8935 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006074, allocations: 0 / 0.8935 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.881e-05/0.006152, allocations: 53.56 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.006169, allocations: 14.17 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006174, allocations: 0 / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.006186, allocations: 0 / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.006256, allocations: 8.094 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006259, allocations: 0 / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.006293, allocations: 11.94 kB / 0.8936 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.006298, allocations: 0 / 0.8936 GB, free: 5.527 MB / 0.8542 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 6.847e-05/0.006366, allocations: 156.6 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.006388, allocations: 3.938 kB / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.006421, allocations: 7.625 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006424, allocations: 4 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.006426, allocations: 0 / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.006428, allocations: 0 / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.006547, allocations: 109.2 kB / 0.8939 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006548, allocations: 0 / 0.8939 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.006594, allocations: 4 kB / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.006596, allocations: 7.938 kB / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.006601, allocations: 0 / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.006605, allocations: 7.922 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006606, allocations: 0 / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.006727, allocations: 187.9 kB / 0.8941 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.006759, allocations: 11.92 kB / 0.8941 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.006769, allocations: 0 / 0.8941 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.006832, allocations: 11.97 kB / 0.8941 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.006845, allocations: 0 / 0.8941 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.006853, allocations: 11.98 kB / 0.8941 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.006892, allocations: 123.2 kB / 0.8943 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006892, allocations: 0 / 0.8943 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002204/0.007113, allocations: 8 kB / 0.8943 GB, free: 4.824 MB / 0.8542 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 9.241e-05/0.007205, allocations: 95.25 kB / 0.8944 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.584e-05/0.007281, allocations: 23.61 kB / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007283, allocations: 0 / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.0073, allocations: 19.75 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.007537, allocations: 7.984 kB / 0.8944 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.00798, allocations: 138.3 kB / 0.8945 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.008017, allocations: 59.34 kB / 0.8946 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.088e-05/0.008068, allocations: 8 kB / 0.8946 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.008122, allocations: 70.2 kB / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.008122, allocations: 0 / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of Templates: time 0.00236/0.01048, allocations: 0.4943 MB / 0.8951 GB, free: 3.859 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.923033511266112]