Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001744/0.001744, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002281/0.002281, allocations: 215.6 kB / 22.25 MB, free: 5.078 MB / 14.72 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 1.406/1.406, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 3.101/3.101, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 62.83 kB / 1.177 GB, free: 17.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 180.2 MB / 1.353 GB, free: 8.59 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002387/0.3345, allocations: 1.283 MB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002949/0.3348, allocations: 107.6 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.3349, allocations: 0 / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.3349, allocations: 0 / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.335, allocations: 3.938 kB / 1.354 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.3352, allocations: 31.88 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.3352, allocations: 15.94 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.3353, allocations: 0 / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.3353, allocations: 11.94 kB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.3354, allocations: 11.98 kB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3354, allocations: 0 / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3355, allocations: 39.95 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.3355, allocations: 0 / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.3355, allocations: 11.92 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.3356, allocations: 36.11 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3356, allocations: 0 / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.787e-06/0.3356, allocations: 4 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3356, allocations: 0 / 1.354 GB, free: 7.027 MB / 1.045 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.000376/0.336, allocations: 264.3 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3361, allocations: 8.031 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.3361, allocations: 34.69 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.3364, allocations: 24.89 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3365, allocations: 118.5 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3366, allocations: 384 / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3366, allocations: 4.125 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3367, allocations: 45.67 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3367, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3367, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3367, allocations: 4 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3368, allocations: 23.92 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.337, allocations: 128.7 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3372, allocations: 42.59 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.3372, allocations: 24.84 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3372, allocations: 0 / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3373, allocations: 34.56 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3373, allocations: 0 / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002656/0.3375, allocations: 73.56 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3376, allocations: 59.52 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.3377, allocations: 97.84 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3377, allocations: 25.7 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.3377, allocations: 84.14 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3377, allocations: 3.953 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3378, allocations: 17.7 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3379, allocations: 314.8 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.338, allocations: 15.98 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.338, allocations: 8 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.3381, allocations: 28.84 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3381, allocations: 4 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001451/0.3383, allocations: 61.55 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3383, allocations: 4 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3383, allocations: 8.094 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3383, allocations: 0 / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3384, allocations: 7.984 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3384, allocations: 3.938 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.3385, allocations: 7.938 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3385, allocations: 0 / 1.356 GB, free: 5.285 MB / 1.045 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 8.716e-05/0.3386, allocations: 113.8 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3386, allocations: 3.938 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.3386, allocations: 11.31 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3386, allocations: 4 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3387, allocations: 0 / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3387, allocations: 0 / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3388, allocations: 132.6 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3388, allocations: 4 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.3389, allocations: 7.984 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3389, allocations: 0 / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3389, allocations: 0 / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3389, allocations: 3.938 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3389, allocations: 0 / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3391, allocations: 89 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.3391, allocations: 8 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3391, allocations: 4 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.3392, allocations: 3.984 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.3392, allocations: 0 / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3392, allocations: 4 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.3392, allocations: 79.31 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3392, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001819/0.3394, allocations: 8 kB / 1.356 GB, free: 4.75 MB / 1.045 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.0005486/0.34, allocations: 0.6124 MB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3402, allocations: 32 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3402, allocations: 4 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.3402, allocations: 15.98 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3405, allocations: 5.406 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.342, allocations: 1.176 MB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3423, allocations: 0.6806 MB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.605e-05/0.3424, allocations: 8.062 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.3424, allocations: 11.38 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3424, allocations: 4 kB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.3692, allocations: 1.58 MB / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.49, allocations: 4.703 kB / 1.36 GB, free: 0.6172 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.052309376000267]