Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.0007843/0.0007843, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007921/0.0007921, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.866/0.866, allocations: 177.1 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.62/1.62, allocations: 377.9 MB / 0.6221 GB, free: 8.656 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_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.856e-06/9.908e-06, allocations: 2.281 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5903/0.5903, allocations: 214.2 MB / 1.19 GB, free: 0.6484 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.6009, allocations: 8.084 MB / 1.198 GB, free: 11.15 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.603, allocations: 91 kB / 1.198 GB, free: 11.1 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.6056, allocations: 1.062 MB / 1.199 GB, free: 10.55 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.007381/0.6129, allocations: 3.3 MB / 1.202 GB, free: 8.77 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006773/0.6197, allocations: 3.64 MB / 1.206 GB, free: 6.98 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.004884/0.6246, allocations: 3.992 MB / 1.21 GB, free: 4.844 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.6262, allocations: 1.083 MB / 1.211 GB, free: 4.074 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.6302, allocations: 2.823 MB / 1.214 GB, free: 2.355 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.6314, allocations: 1.231 MB / 1.215 GB, free: 1.727 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.6315, allocations: 129.7 kB / 1.215 GB, free: 1.727 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.6366, allocations: 3.229 MB / 1.218 GB, free: 15.9 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.6373, allocations: 0.6444 MB / 1.219 GB, free: 15.45 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.6383, allocations: 0.6702 MB / 1.219 GB, free: 15.14 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.007346/0.6457, allocations: 3.872 MB / 1.223 GB, free: 12.85 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6457, allocations: 7.469 kB / 1.223 GB, free: 12.85 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.205e-06/0.6457, allocations: 0 / 1.223 GB, free: 12.85 MB / 1.057 GB Notification: Performance of Transformations before backend: time 3.88e-05/0.6457, allocations: 0 / 1.223 GB, free: 12.85 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.004084/0.6498, allocations: 2.634 MB / 1.226 GB, free: 10.93 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.6498, allocations: 15.5 kB / 1.226 GB, free: 10.92 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.65, allocations: 196.5 kB / 1.226 GB, free: 10.76 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/0.6537, allocations: 1.137 MB / 1.227 GB, free: 10.24 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.6557, allocations: 1.152 MB / 1.228 GB, free: 9.391 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.6558, allocations: 99.47 kB / 1.228 GB, free: 9.344 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.6559, allocations: 129.7 kB / 1.229 GB, free: 9.301 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.6584, allocations: 1.966 MB / 1.23 GB, free: 8.004 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.6584, allocations: 6.844 kB / 1.23 GB, free: 8 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6585, allocations: 61.22 kB / 1.231 GB, free: 7.953 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.6586, allocations: 63.69 kB / 1.231 GB, free: 7.941 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.6614, allocations: 1.901 MB / 1.232 GB, free: 7 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007058/0.6685, allocations: 6.761 MB / 1.239 GB, free: 1.684 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.6707, allocations: 1.462 MB / 1.24 GB, free: 256 kB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.6718, allocations: 0.752 MB / 1.241 GB, free: 15.5 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005035/0.6723, allocations: 200.8 kB / 1.241 GB, free: 15.3 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.6735, allocations: 0.8871 MB / 1.242 GB, free: 14.4 MB / 1.073 GB Notification: Performance of pre-optimization done (n=106): time 4.017e-06/0.6735, allocations: 0 / 1.242 GB, free: 14.4 MB / 1.073 GB Notification: Performance of matching and sorting (n=106): time 0.003993/0.6775, allocations: 2.42 MB / 1.245 GB, free: 11.98 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.6775, allocations: 64.39 kB / 1.245 GB, free: 11.9 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6795, allocations: 1.785 MB / 1.246 GB, free: 10.07 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.6796, allocations: 45.7 kB / 1.246 GB, free: 10.02 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.6801, allocations: 0.8366 MB / 1.247 GB, free: 9.176 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.6804, allocations: 392.7 kB / 1.248 GB, free: 8.789 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.6807, allocations: 230.8 kB / 1.248 GB, free: 8.559 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6808, allocations: 357.9 kB / 1.248 GB, free: 8.203 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.6818, allocations: 0.67 MB / 1.249 GB, free: 7.531 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.6831, allocations: 1.291 MB / 1.25 GB, free: 6.031 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.6854, allocations: 1.725 MB / 1.252 GB, free: 4.164 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.6854, allocations: 4 kB / 1.252 GB, free: 4.16 MB / 1.073 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00334/0.6887, allocations: 1.949 MB / 1.254 GB, free: 2.199 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.6888, allocations: 15.98 kB / 1.254 GB, free: 2.184 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.6888, allocations: 12 kB / 1.254 GB, free: 2.172 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.84e-05/0.6888, allocations: 17.31 kB / 1.254 GB, free: 2.156 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.6898, allocations: 367.4 kB / 1.254 GB, free: 1.797 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.6898, allocations: 19.94 kB / 1.254 GB, free: 1.777 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.6912, allocations: 258.6 kB / 1.254 GB, free: 1.523 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.6913, allocations: 63.97 kB / 1.254 GB, free: 1.461 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0006949/0.692, allocations: 406.5 kB / 1.255 GB, free: 1.059 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.6923, allocations: 202.7 kB / 1.255 GB, free: 0.8594 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.6949, allocations: 1.867 MB / 1.257 GB, free: 14.98 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.695, allocations: 12 kB / 1.257 GB, free: 14.97 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.695, allocations: 0 / 1.257 GB, free: 14.97 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.695, allocations: 7.969 kB / 1.257 GB, free: 14.96 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.7001, allocations: 3.856 MB / 1.261 GB, free: 10.97 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.7001, allocations: 8 kB / 1.261 GB, free: 10.96 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/0.701, allocations: 279.1 kB / 1.261 GB, free: 10.69 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.701, allocations: 9.875 kB / 1.261 GB, free: 10.68 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.701, allocations: 39.97 kB / 1.261 GB, free: 10.64 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.7011, allocations: 11.98 kB / 1.261 GB, free: 10.63 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7011, allocations: 23.81 kB / 1.261 GB, free: 10.61 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/0.705, allocations: 2.981 MB / 1.264 GB, free: 7.52 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.7057, allocations: 334.3 kB / 1.264 GB, free: 7.191 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.7059, allocations: 35.98 kB / 1.264 GB, free: 7.156 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.7066, allocations: 115.9 kB / 1.264 GB, free: 7.043 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.7067, allocations: 100.7 kB / 1.264 GB, free: 6.945 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.7068, allocations: 47.97 kB / 1.264 GB, free: 6.898 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001321/0.7081, allocations: 1.207 MB / 1.266 GB, free: 5.668 MB / 1.089 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7081, allocations: 0 / 1.266 GB, free: 5.668 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001096/0.7092, allocations: 471.5 kB / 1.266 GB, free: 5.207 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (112): * Single equations (assignments): 106 * 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.004846/0.714, allocations: 4.039 MB / 1.27 GB, free: 1.258 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002552/0.7166, allocations: 1.611 MB / 1.272 GB, free: 15.64 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7166, allocations: 0 / 1.272 GB, free: 15.64 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.7178, allocations: 0.8152 MB / 1.272 GB, free: 14.83 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.7207, allocations: 0.9751 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.01753/0.7382, allocations: 14.82 MB / 1.288 GB, free: 14.35 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.7388, allocations: 0.7991 MB / 1.289 GB, free: 13.52 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.00134/0.7401, allocations: 467 kB / 1.289 GB, free: 13.05 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007377/0.7408, allocations: 0.719 MB / 1.29 GB, free: 12.34 MB / 1.12 GB Notification: Performance of SimCode: time 1.553e-06/0.7408, allocations: 0 / 1.29 GB, free: 12.34 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/0.8004, allocations: 55.59 MB / 1.344 GB, free: 5.812 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.496, allocations: 11.36 kB / 1.344 GB, free: 5.805 MB / 1.167 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.438123379833996]