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.00214/0.00214, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001481/0.001481, allocations: 217.8 kB / 22.24 MB, free: 4.855 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.996 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.438/3.438, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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.0023/0.0023, allocations: 65.28 kB / 1.186 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3762, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002929/0.3792, allocations: 1.298 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.3798, allocations: 263.1 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.3799, allocations: 0 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.3799, allocations: 0 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.38, allocations: 15.91 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.3804, allocations: 75.66 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3805, allocations: 31.86 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.3805, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3807, allocations: 31.91 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.3807, allocations: 15.92 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3807, allocations: 3.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.3809, allocations: 71.86 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.381, allocations: 0 / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.381, allocations: 11.94 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3812, allocations: 76.02 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3812, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3812, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3812, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 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.0004395/0.3816, allocations: 278.1 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3817, allocations: 8.031 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/0.3817, allocations: 38.75 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.3822, allocations: 48.81 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3823, allocations: 110.5 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3824, allocations: 384 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.3824, allocations: 8.125 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3826, allocations: 87.3 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3826, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3826, allocations: 7.984 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3826, allocations: 3.938 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3828, allocations: 35.95 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.3833, allocations: 228 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3834, allocations: 50.48 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.3835, allocations: 12.92 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3835, allocations: 7.984 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3835, allocations: 30.56 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3835, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002789/0.3838, allocations: 65.67 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3839, allocations: 51.41 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.384, allocations: 113.8 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.384, allocations: 25.7 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.384, allocations: 84.14 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.3841, allocations: 3.953 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.3841, allocations: 21.83 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3843, allocations: 314.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.3843, allocations: 15.98 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.3844, allocations: 8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3845, allocations: 28.83 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3845, allocations: 3.938 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000155/0.3846, allocations: 57.75 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3846, allocations: 8 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3847, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3847, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.3848, allocations: 11.92 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3848, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.3848, allocations: 7.953 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3848, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 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 0.0001022/0.3849, allocations: 117.8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3849, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.385, allocations: 11.66 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.385, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.385, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.385, allocations: 3.938 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3852, allocations: 136.6 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3852, allocations: 0 / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.3853, allocations: 7.984 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3853, allocations: 0 / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3853, allocations: 4 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3853, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3853, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3855, allocations: 167.4 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.3856, allocations: 7.984 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3856, allocations: 0 / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.3857, allocations: 7.984 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3857, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3857, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.967e-05/0.3857, allocations: 91.58 kB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3857, allocations: 0 / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002273/0.386, allocations: 4 kB / 1.367 GB, free: 9.609 MB / 1.061 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.0006178/0.3866, allocations: 0.689 MB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.3867, allocations: 27.92 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3867, allocations: 0 / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.3868, allocations: 15.98 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3871, allocations: 6.812 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.3877, allocations: 162.5 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.949e-05/0.3878, allocations: 63.34 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.3878, allocations: 19.83 kB / 1.368 GB, free: 8.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.3879, allocations: 7.438 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3879, allocations: 3.938 kB / 1.368 GB, free: 8.539 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.4189, allocations: 1.746 MB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.76, allocations: 8.578 kB / 1.37 GB, free: 6.926 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.09006430907175]