Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001992/0.001992, allocations: 108.9 kB / 16.45 MB, free: 6.453 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.002382/0.002382, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_12_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.002034/0.002034, allocations: 67.83 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002701/0.364, allocations: 1.274 MB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.3643, allocations: 116 kB / 1.322 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.3644, allocations: 4 kB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.3644, allocations: 4 kB / 1.322 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.3645, allocations: 3.938 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3647, allocations: 43.88 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.537e-05/0.3648, allocations: 11.88 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.3648, allocations: 4 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.3648, allocations: 0 / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.3649, allocations: 7.984 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3649, allocations: 0 / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.365, allocations: 59.88 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.365, allocations: 11.92 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.3651, allocations: 8 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3652, allocations: 40.11 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3652, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3652, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3652, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 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.0004297/0.3656, allocations: 339.3 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3657, allocations: 11.98 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.3657, allocations: 34.75 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.3657, allocations: 4.875 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3659, allocations: 168.4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3659, allocations: 384 / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.3659, allocations: 4.125 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.758e-05/0.366, allocations: 29.7 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.366, allocations: 3.984 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.366, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.366, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.3661, allocations: 15.94 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.3662, allocations: 149.7 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.3663, allocations: 26.61 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.3663, allocations: 16.84 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/0.3671, allocations: 0.6013 MB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3671, allocations: 38.56 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.3671, allocations: 0 / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001773/0.3673, allocations: 45.58 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3673, allocations: 51.41 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.3674, allocations: 97.86 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3674, allocations: 25.7 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.3675, allocations: 88.08 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.3675, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3676, allocations: 21.83 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3677, allocations: 314.8 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.3677, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.3677, allocations: 8 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.3678, allocations: 12.86 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3678, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.934e-05/0.3678, allocations: 53.52 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3678, allocations: 8 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3679, allocations: 4.094 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3679, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.3679, allocations: 4 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3679, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.3679, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.368, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 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 9.312e-05/0.368, allocations: 111.4 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.3681, allocations: 3.938 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3682, allocations: 56.73 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3682, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3682, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3682, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3683, allocations: 161.6 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3683, allocations: 3.938 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.3683, allocations: 4 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3683, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3683, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3683, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3683, allocations: 7.984 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.425e-05/0.3684, allocations: 65.11 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3685, allocations: 85 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3685, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.3685, allocations: 3.984 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.3685, allocations: 4 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3685, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.3686, allocations: 79.28 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3686, allocations: 7.969 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002001/0.3688, allocations: 19.94 kB / 1.325 GB, free: 14.54 MB / 1.029 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.000454/0.3692, allocations: 0.6124 MB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.3693, allocations: 7.938 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3693, allocations: 4.094 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.3693, allocations: 8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.3695, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3706, allocations: 1.098 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3708, allocations: 0.669 MB / 1.327 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.3709, allocations: 8.031 kB / 1.327 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.3709, allocations: 11.44 kB / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3709, allocations: 0 / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3962, allocations: 1.435 MB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.729, allocations: 9.422 kB / 1.329 GB, free: 10.64 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.55474682385102]