Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.001364/0.001364, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.00167/0.00167, allocations: 220.8 kB / 22.26 MB, free: 5.211 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.949 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.283/3.283, allocations: 0.49 GB / 0.7951 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.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",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.002007/0.002007, allocations: 71.52 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00405/0.3702, allocations: 2.175 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.3733, allocations: 1.908 MB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.3734, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007431/0.3742, allocations: 231 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.3744, allocations: 67.36 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.3755, allocations: 438.4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.3761, allocations: 414.7 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.3762, allocations: 20.58 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.3764, allocations: 163.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3766, allocations: 159.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.3766, allocations: 28 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.3771, allocations: 279.6 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3773, allocations: 123.6 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.3775, allocations: 167.2 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.3782, allocations: 0.5956 MB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3782, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3782, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.3782, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001193/0.3794, allocations: 0.6383 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3794, allocations: 16.03 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.3795, allocations: 46.73 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.3812, allocations: 156.5 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.3817, allocations: 312.8 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.3819, allocations: 139.3 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.3819, allocations: 4.375 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.3829, allocations: 446.6 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3829, allocations: 0 / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.383, allocations: 8 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.383, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.3846, allocations: 0.5855 MB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.3866, allocations: 1.007 MB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005025/0.3916, allocations: 0.8338 MB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/0.3924, allocations: 300.6 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.3924, allocations: 11.98 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.3934, allocations: 439.3 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 3.747e-06/0.3934, allocations: 0 / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002499/0.3959, allocations: 0.9245 MB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.396, allocations: 59.39 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.3965, allocations: 425.6 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.3966, allocations: 37.69 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3967, allocations: 180 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.3968, allocations: 39.64 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3969, allocations: 61.61 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3971, allocations: 346.7 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008704/0.3979, allocations: 384.5 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/0.3988, allocations: 371.7 kB / 1.34 GB, free: 3.281 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.4002, allocations: 0.6093 MB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4002, allocations: 0 / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002024/0.4023, allocations: 0.8947 MB / 1.341 GB, free: 1.758 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.4023, allocations: 41.69 kB / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4023, allocations: 4 kB / 1.341 GB, free: 1.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4023, allocations: 4 kB / 1.341 GB, free: 1.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.4028, allocations: 63.91 kB / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4028, allocations: 0 / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.4032, allocations: 51.84 kB / 1.342 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.4032, allocations: 15.92 kB / 1.342 GB, free: 1.574 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: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002925/0.4035, allocations: 191.4 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.4036, allocations: 35.77 kB / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/0.4037, allocations: 39.41 kB / 1.342 GB, free: 1.305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4037, allocations: 4 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4037, allocations: 4 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4037, allocations: 7.922 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.4044, allocations: 0.5231 MB / 1.342 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4044, allocations: 0 / 1.342 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.4048, allocations: 63.86 kB / 1.342 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4048, allocations: 0 / 1.342 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.4048, allocations: 15.98 kB / 1.342 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4048, allocations: 3.984 kB / 1.342 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4048, allocations: 0 / 1.342 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.4065, allocations: 0.6552 MB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.4067, allocations: 99.56 kB / 1.343 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.4068, allocations: 11.98 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.4072, allocations: 43.94 kB / 1.343 GB, free: 15.81 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.4073, allocations: 19.97 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.4073, allocations: 15.92 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003698/0.4077, allocations: 319.1 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4077, allocations: 0 / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003785/0.4081, allocations: 75.94 kB / 1.344 GB, free: 15.39 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: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002148/0.4102, allocations: 1.237 MB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.412, allocations: 0.745 MB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.412, allocations: 7.938 kB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.4128, allocations: 315.7 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.4133, allocations: 82.52 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.4243, allocations: 6.103 MB / 1.352 GB, free: 6.781 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.4248, allocations: 0.8065 MB / 1.353 GB, free: 5.949 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004193/0.4252, allocations: 102.2 kB / 1.353 GB, free: 5.852 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.4255, allocations: 103.3 kB / 1.353 GB, free: 5.75 MB / 1.045 GB Notification: Performance of SimCode: time 7.91e-07/0.4255, allocations: 0 / 1.353 GB, free: 5.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.4715, allocations: 11.02 MB / 1.364 GB, free: 10.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.91, allocations: 8.062 kB / 1.364 GB, free: 10.94 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.8623512131162]