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.001888/0.001888, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001729/0.001729, allocations: 213.6 kB / 22.25 MB, free: 5.242 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.789 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.4/3.4, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.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.002133/0.002133, allocations: 74.03 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003317/0.353, allocations: 1.297 MB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006714/0.3537, allocations: 282.9 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.3537, allocations: 0 / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.3538, allocations: 0 / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3539, allocations: 11.92 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.3542, allocations: 75.7 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.3543, allocations: 35.86 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.3544, allocations: 8 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3545, allocations: 31.89 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.3546, allocations: 11.92 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3546, allocations: 4 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.3548, allocations: 71.92 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3548, allocations: 11.98 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.3549, allocations: 11.88 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3551, allocations: 80 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3551, allocations: 0 / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3551, allocations: 0 / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3551, allocations: 0 / 1.327 GB, free: 408 kB / 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.0004765/0.3555, allocations: 283.9 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3556, allocations: 8.031 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.3556, allocations: 34.75 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.3557, allocations: 0.9375 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3558, allocations: 126.4 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3558, allocations: 4.375 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.3558, allocations: 8.125 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.356, allocations: 59.39 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.356, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.356, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.356, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.3561, allocations: 15.94 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.3563, allocations: 132.8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3564, allocations: 30.56 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.3564, allocations: 12.86 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.3571, allocations: 147.9 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.3572, allocations: 30.56 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.3572, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001956/0.3574, allocations: 53.62 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3574, allocations: 55.41 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3575, allocations: 113.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3575, allocations: 29.64 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.3576, allocations: 80.14 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3576, allocations: 7.906 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.3576, allocations: 17.72 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3578, allocations: 318.8 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.3579, allocations: 0 / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.3579, allocations: 4 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.3579, allocations: 16.86 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3579, allocations: 7.938 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.688e-05/0.358, allocations: 53.62 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.358, allocations: 8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.358, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.358, allocations: 4.266 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.3581, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3581, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.3581, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.3581, allocations: 7.984 kB / 1.329 GB, free: 14.56 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 9.914e-05/0.3582, allocations: 110.4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.3582, allocations: 11.89 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.3584, allocations: 61.61 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3584, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3584, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3584, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3586, allocations: 136.7 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3586, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.3586, allocations: 8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3586, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3586, allocations: 7.984 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3586, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3586, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.3587, allocations: 80.95 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.3588, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3588, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.3588, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.3588, allocations: 7.984 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3588, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.3589, allocations: 83.28 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3589, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000229/0.3591, allocations: 39.86 kB / 1.329 GB, free: 13.92 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.0005724/0.3597, allocations: 0.6396 MB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.3598, allocations: 15.88 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3598, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.3598, allocations: 11.98 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3601, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.3605, allocations: 167.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.3606, allocations: 71.34 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.3607, allocations: 8.484 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.3607, allocations: 7.438 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3607, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.3917, allocations: 2.15 MB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.71, allocations: 5.5 kB / 1.332 GB, free: 10.9 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.81591460807249]