Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001707/0.001707, allocations: 103.3 kB / 16.45 MB, free: 6.5 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.002169/0.002169, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.118/3.118, allocations: 0.49 GB / 0.7916 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.002175/0.002175, allocations: 64.27 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002487/0.3539, allocations: 1.308 MB / 1.322 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.3545, allocations: 307.3 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.3546, allocations: 0 / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.3546, allocations: 3.938 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3547, allocations: 11.92 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.355, allocations: 79.7 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.234e-05/0.3551, allocations: 43.78 kB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.3551, allocations: 0 / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3552, allocations: 31.91 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.3553, allocations: 15.94 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3553, allocations: 0 / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3555, allocations: 79.91 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.3555, allocations: 0 / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.3555, allocations: 15.92 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3557, allocations: 79.94 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3557, allocations: 7.984 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3557, allocations: 0 / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3557, allocations: 0 / 1.323 GB, free: 1.336 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000467/0.3562, allocations: 355.2 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3562, allocations: 15.98 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.3563, allocations: 34.75 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.3563, allocations: 0.9375 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3564, allocations: 172.3 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3564, allocations: 384 / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3564, allocations: 16.05 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3566, allocations: 37.7 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3566, allocations: 0 / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.3566, allocations: 0 / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3566, allocations: 0 / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.3566, allocations: 11.98 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.3568, allocations: 157.7 kB / 1.323 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3569, allocations: 46.48 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.3569, allocations: 16.86 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.3582, allocations: 1.179 MB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.3582, allocations: 38.56 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3582, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001638/0.3584, allocations: 45.69 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3584, allocations: 55.41 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.3585, allocations: 113.8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3586, allocations: 25.7 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.3586, allocations: 80.14 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3586, allocations: 11.91 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.3587, allocations: 13.72 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3588, allocations: 326.8 kB / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.3588, allocations: 0 / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.3588, allocations: 4 kB / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.3589, allocations: 16.86 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3589, allocations: 0 / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.969e-05/0.359, allocations: 49.62 kB / 1.325 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.359, allocations: 6.344 kB / 1.325 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.359, allocations: 7.938 kB / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.359, allocations: 0 / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.359, allocations: 8 kB / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.359, allocations: 3.984 kB / 1.325 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.3591, allocations: 0 / 1.325 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3591, allocations: 4 kB / 1.325 GB, free: 14.03 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 (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 8.939e-05/0.3592, allocations: 109.8 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.3592, allocations: 11.89 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.3593, allocations: 65.53 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3593, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3593, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3593, allocations: 4 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.3595, allocations: 161.6 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3595, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.3595, allocations: 7.938 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3595, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3595, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3595, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3595, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.3596, allocations: 81.39 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.3597, allocations: 85.09 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.3597, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.3598, allocations: 4.047 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.3598, allocations: 3.984 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3598, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.597e-05/0.3598, allocations: 91.27 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002222/0.3601, allocations: 31.88 kB / 1.326 GB, free: 13.27 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 (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.0005255/0.3606, allocations: 0.6434 MB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.3607, allocations: 15.98 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3607, allocations: 4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.3607, allocations: 11.94 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.3609, allocations: 4 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.3614, allocations: 167.5 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3617, allocations: 0.6768 MB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.895e-05/0.3617, allocations: 8 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.3618, allocations: 15.42 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3618, allocations: 3.938 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.3865, allocations: 1.63 MB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/8.881, allocations: 10.75 kB / 1.329 GB, free: 10.1 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_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_PowerLawFixedM.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.502314602956176]