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.001095/0.001095, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008662/0.0008662, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.892/0.892, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.621e-05, allocations: 6.281 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002545/0.002571, allocations: 2.079 MB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.004462, allocations: 1.736 MB / 0.9847 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.004564, allocations: 8 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.005087, allocations: 202.6 kB / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.005186, allocations: 67.41 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008161/0.006002, allocations: 434.8 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.006383, allocations: 414.6 kB / 0.9858 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.00649, allocations: 20.58 kB / 0.9858 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.006679, allocations: 207.6 kB / 0.986 GB, free: 13.44 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.006835, allocations: 135.7 kB / 0.9861 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.006876, allocations: 24 kB / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.007197, allocations: 267.4 kB / 0.9864 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.007313, allocations: 119.7 kB / 0.9865 GB, free: 12.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.007409, allocations: 111.7 kB / 0.9866 GB, free: 12.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.007922, allocations: 0.6389 MB / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.007925, allocations: 0 / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.007926, allocations: 0 / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.007931, allocations: 0 / 0.9872 GB, free: 12.15 MB / 0.948 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.0007997/0.008731, allocations: 0.6421 MB / 0.9879 GB, free: 11.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.008769, allocations: 12.03 kB / 0.9879 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.008806, allocations: 34.75 kB / 0.9879 GB, free: 11.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/0.00961, allocations: 168.6 kB / 0.9881 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.009933, allocations: 312 kB / 0.9884 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.01003, allocations: 127.4 kB / 0.9885 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.01006, allocations: 8.359 kB / 0.9885 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.01062, allocations: 421.8 kB / 0.9889 GB, free: 10.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.01063, allocations: 192 / 0.9889 GB, free: 10.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.01065, allocations: 7.938 kB / 0.9889 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.01066, allocations: 8 kB / 0.9889 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.01148, allocations: 0.5854 MB / 0.9895 GB, free: 9.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01265, allocations: 0.9365 MB / 0.9904 GB, free: 8.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.01479, allocations: 0.8338 MB / 0.9912 GB, free: 7.926 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.01517, allocations: 300.6 kB / 0.9915 GB, free: 7.629 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.01519, allocations: 3.938 kB / 0.9915 GB, free: 7.625 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/0.01573, allocations: 430.9 kB / 0.9919 GB, free: 7.191 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.01573, allocations: 0 / 0.9919 GB, free: 7.191 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0013/0.01703, allocations: 0.9178 MB / 0.9928 GB, free: 6.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.01707, allocations: 55.41 kB / 0.9929 GB, free: 6.203 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.01739, allocations: 429.6 kB / 0.9933 GB, free: 5.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.01742, allocations: 37.64 kB / 0.9933 GB, free: 5.727 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.01752, allocations: 180 kB / 0.9935 GB, free: 5.547 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.01756, allocations: 55.52 kB / 0.9935 GB, free: 5.492 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.01765, allocations: 57.67 kB / 0.9936 GB, free: 5.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.01773, allocations: 346.8 kB / 0.9939 GB, free: 5.082 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.0182, allocations: 401.4 kB / 0.9943 GB, free: 4.684 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.01863, allocations: 397.4 kB / 0.9947 GB, free: 4.289 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.01937, allocations: 0.6024 MB / 0.9953 GB, free: 3.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01937, allocations: 0 / 0.9953 GB, free: 3.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001043/0.02042, allocations: 0.926 MB / 0.9962 GB, free: 2.734 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.02046, allocations: 45.69 kB / 0.9962 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.02046, allocations: 0 / 0.9962 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.02048, allocations: 0 / 0.9962 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.02069, allocations: 63.86 kB / 0.9963 GB, free: 2.621 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.0207, allocations: 7.984 kB / 0.9963 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.02087, allocations: 43.89 kB / 0.9963 GB, free: 2.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.0209, allocations: 11.98 kB / 0.9963 GB, free: 2.559 MB / 0.948 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0001765/0.02108, allocations: 189.7 kB / 0.9965 GB, free: 2.363 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.02112, allocations: 35.77 kB / 0.9965 GB, free: 2.328 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.02116, allocations: 43.41 kB / 0.9966 GB, free: 2.289 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.02117, allocations: 7.938 kB / 0.9966 GB, free: 2.281 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.02117, allocations: 0 / 0.9966 GB, free: 2.281 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.02118, allocations: 0 / 0.9966 GB, free: 2.281 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.02159, allocations: 460.3 kB / 0.997 GB, free: 1.789 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0216, allocations: 3.938 kB / 0.997 GB, free: 1.785 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.02179, allocations: 71.91 kB / 0.9971 GB, free: 1.715 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.02179, allocations: 0 / 0.9971 GB, free: 1.715 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.02181, allocations: 7.984 kB / 0.9971 GB, free: 1.707 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.02182, allocations: 0 / 0.9971 GB, free: 1.707 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02182, allocations: 0 / 0.9971 GB, free: 1.707 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.02268, allocations: 0.6605 MB / 0.9978 GB, free: 1.027 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.02281, allocations: 87.69 kB / 0.9978 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.02285, allocations: 11.97 kB / 0.9979 GB, free: 0.9297 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.02304, allocations: 51.94 kB / 0.9979 GB, free: 0.8789 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.0231, allocations: 19.97 kB / 0.9979 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.02312, allocations: 7.984 kB / 0.9979 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002298/0.02335, allocations: 323.1 kB / 0.9982 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.02335, allocations: 0 / 0.9982 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002716/0.02362, allocations: 75.94 kB / 0.9983 GB, free: 476 kB / 0.948 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.001187/0.02481, allocations: 1.239 MB / 0.9995 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000948/0.02576, allocations: 0.7778 MB / 1 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02576, allocations: 0 / 1 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.02616, allocations: 323.7 kB / 1.001 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.02651, allocations: 75.05 kB / 1.001 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/0.03268, allocations: 6.25 MB / 1.007 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.03283, allocations: 213.9 kB / 1.007 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002762/0.0331, allocations: 94.23 kB / 1.007 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.03326, allocations: 104.4 kB / 1.007 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of SimCode: time 1.432e-06/0.03326, allocations: 4 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.05923, allocations: 11.99 MB / 1.019 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.822, allocations: 4 kB / 1.019 GB, free: 11.47 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.87642931099981]