Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.0007668/0.0007668, allocations: 72.45 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.0008262/0.0008262, 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.8575/0.8575, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.641/1.641, allocations: 377.9 MB / 0.6221 GB, free: 8.625 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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 0.981 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.943e-05, allocations: 5.094 kB / 0.981 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5966/0.5966, allocations: 214.2 MB / 1.19 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.6071, allocations: 8.078 MB / 1.198 GB, free: 11.12 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.6091, allocations: 96.03 kB / 1.198 GB, free: 11.07 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.6112, allocations: 1.057 MB / 1.199 GB, free: 10.52 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.6175, allocations: 3.302 MB / 1.202 GB, free: 8.734 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00697/0.6245, allocations: 3.642 MB / 1.206 GB, free: 6.945 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.00493/0.6294, allocations: 3.999 MB / 1.21 GB, free: 4.789 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.631, allocations: 1.092 MB / 1.211 GB, free: 4.012 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/0.6351, allocations: 2.824 MB / 1.214 GB, free: 2.293 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.6365, allocations: 1.23 MB / 1.215 GB, free: 1.664 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.6366, allocations: 130.8 kB / 1.215 GB, free: 1.66 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005085/0.6417, allocations: 3.219 MB / 1.218 GB, free: 15.84 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.6423, allocations: 0.6445 MB / 1.219 GB, free: 15.39 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.6433, allocations: 0.6611 MB / 1.219 GB, free: 15.09 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.00588/0.6492, allocations: 3.852 MB / 1.223 GB, free: 12.81 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6492, allocations: 3.469 kB / 1.223 GB, free: 12.81 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6492, allocations: 2.5 kB / 1.223 GB, free: 12.81 MB / 1.057 GB Notification: Performance of Transformations before backend: time 4.987e-05/0.6493, allocations: 0 / 1.223 GB, free: 12.81 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.003978/0.6533, allocations: 2.63 MB / 1.226 GB, free: 10.89 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6533, allocations: 10.44 kB / 1.226 GB, free: 10.89 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.6535, allocations: 199.8 kB / 1.226 GB, free: 10.73 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.6568, allocations: 1.094 MB / 1.227 GB, free: 10.23 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.6584, allocations: 1.148 MB / 1.228 GB, free: 9.379 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.6585, allocations: 98.78 kB / 1.228 GB, free: 9.336 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.6586, allocations: 128.6 kB / 1.228 GB, free: 9.293 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.6611, allocations: 1.98 MB / 1.23 GB, free: 7.961 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.6611, allocations: 6.781 kB / 1.23 GB, free: 7.957 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.611e-05/0.6612, allocations: 57.22 kB / 1.23 GB, free: 7.914 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/0.6612, allocations: 67.31 kB / 1.23 GB, free: 7.898 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.6638, allocations: 1.889 MB / 1.232 GB, free: 6.961 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006439/0.6702, allocations: 7.172 MB / 1.239 GB, free: 1.207 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.6726, allocations: 1.547 MB / 1.241 GB, free: 15.72 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009977/0.6736, allocations: 0.7533 MB / 1.242 GB, free: 14.96 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003651/0.674, allocations: 140.9 kB / 1.242 GB, free: 14.83 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.6752, allocations: 0.8676 MB / 1.243 GB, free: 13.95 MB / 1.073 GB Notification: Performance of pre-optimization done (n=104): time 3.947e-06/0.6752, allocations: 0 / 1.243 GB, free: 13.95 MB / 1.073 GB Notification: Performance of matching and sorting (n=104): time 0.003523/0.6787, allocations: 2.345 MB / 1.245 GB, free: 11.59 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.6787, allocations: 64.41 kB / 1.245 GB, free: 11.52 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6802, allocations: 1.744 MB / 1.247 GB, free: 9.727 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 7.787e-05/0.6802, allocations: 45.7 kB / 1.247 GB, free: 9.676 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/0.6808, allocations: 0.8557 MB / 1.248 GB, free: 8.812 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.681, allocations: 376.8 kB / 1.248 GB, free: 8.441 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.6813, allocations: 238.8 kB / 1.248 GB, free: 8.203 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.6814, allocations: 349.9 kB / 1.248 GB, free: 7.855 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/0.6823, allocations: 0.6739 MB / 1.249 GB, free: 7.18 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.6836, allocations: 1.281 MB / 1.25 GB, free: 5.684 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.686, allocations: 1.727 MB / 1.252 GB, free: 3.809 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.686, allocations: 7.938 kB / 1.252 GB, free: 3.801 MB / 1.073 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003155/0.6891, allocations: 1.937 MB / 1.254 GB, free: 1.852 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.6891, allocations: 8.188 kB / 1.254 GB, free: 1.844 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.6892, allocations: 17.31 kB / 1.254 GB, free: 1.828 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.6892, allocations: 16 kB / 1.254 GB, free: 1.812 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008657/0.6901, allocations: 363.4 kB / 1.254 GB, free: 1.457 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.6901, allocations: 23.92 kB / 1.254 GB, free: 1.434 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6912, allocations: 246.7 kB / 1.255 GB, free: 1.191 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.6912, allocations: 67.97 kB / 1.255 GB, free: 1.125 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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.0005767/0.6918, allocations: 408.3 kB / 1.255 GB, free: 0.7188 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.692, allocations: 198.7 kB / 1.255 GB, free: 0.5234 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.6945, allocations: 1.839 MB / 1.257 GB, free: 14.68 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6945, allocations: 8 kB / 1.257 GB, free: 14.67 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6945, allocations: 4 kB / 1.257 GB, free: 14.67 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6945, allocations: 7.922 kB / 1.257 GB, free: 14.66 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.6991, allocations: 3.792 MB / 1.261 GB, free: 10.71 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6991, allocations: 8.156 kB / 1.261 GB, free: 10.71 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/0.6999, allocations: 285 kB / 1.261 GB, free: 10.43 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.6999, allocations: 8 kB / 1.261 GB, free: 10.43 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.7, allocations: 43.97 kB / 1.261 GB, free: 10.38 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.7, allocations: 15.88 kB / 1.261 GB, free: 10.37 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.7, allocations: 11.94 kB / 1.261 GB, free: 10.36 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.7036, allocations: 2.921 MB / 1.264 GB, free: 7.336 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.7042, allocations: 326.4 kB / 1.264 GB, free: 7.016 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.7043, allocations: 35.97 kB / 1.264 GB, free: 6.98 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.705, allocations: 119.8 kB / 1.264 GB, free: 6.863 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7051, allocations: 92.34 kB / 1.264 GB, free: 6.773 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.7052, allocations: 51.97 kB / 1.265 GB, free: 6.723 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001055/0.7062, allocations: 1.175 MB / 1.266 GB, free: 5.523 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7062, allocations: 0 / 1.266 GB, free: 5.523 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001001/0.7072, allocations: 475.4 kB / 1.266 GB, free: 5.059 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004788/0.712, allocations: 3.982 MB / 1.27 GB, free: 1.16 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.7144, allocations: 1.593 MB / 1.272 GB, free: 15.57 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7144, allocations: 3.938 kB / 1.272 GB, free: 15.56 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7155, allocations: 0.7821 MB / 1.272 GB, free: 14.79 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.7181, allocations: 0.9319 MB / 1.273 GB, free: 13.87 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.7368, allocations: 15.08 MB / 1.288 GB, free: 14.07 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.7374, allocations: 0.795 MB / 1.289 GB, free: 13.24 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001209/0.7386, allocations: 450.5 kB / 1.289 GB, free: 12.79 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006846/0.7393, allocations: 0.719 MB / 1.29 GB, free: 12.07 MB / 1.12 GB Notification: Performance of SimCode: time 9.91e-07/0.7393, allocations: 7.938 kB / 1.29 GB, free: 12.07 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06244/0.8017, allocations: 53.85 MB / 1.342 GB, free: 7.25 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.625, allocations: 2.766 kB / 1.342 GB, free: 7.25 MB / 1.167 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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: 12.6047407053411]