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.001528/0.001528, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001819/0.001819, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.781 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.023/3.023, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.001996/0.001996, allocations: 72.19 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2938, allocations: 176.1 MB / 1.325 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2545/0.5482, allocations: 214.7 MB / 1.535 GB, free: 10.84 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.564, allocations: 8.063 MB / 1.543 GB, free: 2.766 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.5664, allocations: 95.12 kB / 1.543 GB, free: 2.672 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.5693, allocations: 1.049 MB / 1.544 GB, free: 1.617 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009252/0.5785, allocations: 3.217 MB / 1.547 GB, free: 14.39 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009462/0.588, allocations: 3.496 MB / 1.55 GB, free: 10.89 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.006876/0.5949, allocations: 3.948 MB / 1.554 GB, free: 6.922 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.5972, allocations: 1.089 MB / 1.555 GB, free: 5.801 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/0.6027, allocations: 2.324 MB / 1.557 GB, free: 3.469 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.6054, allocations: 1.369 MB / 1.559 GB, free: 2.094 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0006838/0.6061, allocations: 128 kB / 1.559 GB, free: 1.969 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007726/0.6138, allocations: 3.179 MB / 1.562 GB, free: 14.78 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.615, allocations: 0.6266 MB / 1.563 GB, free: 14.15 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.6169, allocations: 0.8163 MB / 1.563 GB, free: 13.33 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008488/0.6254, allocations: 3.745 MB / 1.567 GB, free: 9.574 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6254, allocations: 0 / 1.567 GB, free: 9.574 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6254, allocations: 0 / 1.567 GB, free: 9.574 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.618e-05/0.6254, allocations: 0 / 1.567 GB, free: 9.574 MB / 1.264 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.007266/0.6327, allocations: 2.65 MB / 1.57 GB, free: 6.871 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.6328, allocations: 8.031 kB / 1.57 GB, free: 6.863 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/0.633, allocations: 198.4 kB / 1.57 GB, free: 6.66 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007357/0.6404, allocations: 1.142 MB / 1.571 GB, free: 5.516 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.6432, allocations: 1.15 MB / 1.572 GB, free: 4.32 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6434, allocations: 102.5 kB / 1.572 GB, free: 4.219 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.6436, allocations: 128 kB / 1.572 GB, free: 4.094 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/0.6478, allocations: 1.967 MB / 1.574 GB, free: 2 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.6478, allocations: 3.938 kB / 1.574 GB, free: 1.996 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.648, allocations: 63.97 kB / 1.574 GB, free: 1.934 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.637e-05/0.6481, allocations: 58.34 kB / 1.574 GB, free: 1.875 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005076/0.6531, allocations: 1.898 MB / 1.576 GB, free: 15.97 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.6639, allocations: 6.797 MB / 1.583 GB, free: 8.957 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/0.668, allocations: 1.463 MB / 1.584 GB, free: 7.488 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.67, allocations: 0.7572 MB / 1.585 GB, free: 6.73 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00095/0.6709, allocations: 200.8 kB / 1.585 GB, free: 6.535 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00221/0.6731, allocations: 0.8793 MB / 1.586 GB, free: 5.641 MB / 1.279 GB Notification: Performance of pre-optimization done (n=106): time 3.626e-06/0.6731, allocations: 4 kB / 1.586 GB, free: 5.637 MB / 1.279 GB Notification: Performance of matching and sorting (n=106): time 0.006989/0.6801, allocations: 2.416 MB / 1.588 GB, free: 3.215 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.6802, allocations: 64.41 kB / 1.589 GB, free: 3.141 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.6826, allocations: 1.785 MB / 1.59 GB, free: 1.309 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.6828, allocations: 49.7 kB / 1.59 GB, free: 1.254 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/0.6835, allocations: 0.8366 MB / 1.591 GB, free: 420 kB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.6839, allocations: 392.7 kB / 1.592 GB, free: 24 kB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004147/0.6843, allocations: 234.8 kB / 1.592 GB, free: 15.79 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6845, allocations: 357.9 kB / 1.592 GB, free: 15.43 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.6864, allocations: 0.6778 MB / 1.593 GB, free: 14.75 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.6888, allocations: 1.287 MB / 1.594 GB, free: 13.25 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/0.693, allocations: 1.721 MB / 1.596 GB, free: 11.39 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.693, allocations: 7.984 kB / 1.596 GB, free: 11.38 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005019/0.698, allocations: 1.948 MB / 1.598 GB, free: 9.422 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.698, allocations: 8 kB / 1.598 GB, free: 9.414 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.698, allocations: 12 kB / 1.598 GB, free: 9.402 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.395e-05/0.6981, allocations: 16 kB / 1.598 GB, free: 9.387 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.6999, allocations: 367.9 kB / 1.598 GB, free: 9.027 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/0.6999, allocations: 23.92 kB / 1.598 GB, free: 9.004 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.7017, allocations: 242.7 kB / 1.598 GB, free: 8.766 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.7018, allocations: 71.97 kB / 1.598 GB, free: 8.695 MB / 1.295 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.0007305/0.7026, allocations: 409 kB / 1.599 GB, free: 8.289 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.7029, allocations: 202.7 kB / 1.599 GB, free: 8.09 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.7078, allocations: 1.879 MB / 1.601 GB, free: 6.207 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.7078, allocations: 12 kB / 1.601 GB, free: 6.195 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7078, allocations: 0 / 1.601 GB, free: 6.195 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7078, allocations: 7.984 kB / 1.601 GB, free: 6.188 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008542/0.7163, allocations: 3.839 MB / 1.604 GB, free: 2.203 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.7164, allocations: 8 kB / 1.604 GB, free: 2.195 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.7179, allocations: 276.1 kB / 1.605 GB, free: 1.926 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.7179, allocations: 15.94 kB / 1.605 GB, free: 1.91 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.7181, allocations: 43.91 kB / 1.605 GB, free: 1.867 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.7181, allocations: 11.94 kB / 1.605 GB, free: 1.855 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.7181, allocations: 11.94 kB / 1.605 GB, free: 1.844 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.599/1.317, allocations: 2.989 MB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.318, allocations: 332.5 kB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/1.318, allocations: 36.17 kB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.32, allocations: 126 kB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.32, allocations: 95.03 kB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.32, allocations: 47.66 kB / 1.608 GB, free: 279.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001744/1.322, allocations: 1.213 MB / 1.61 GB, free: 279.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.322, allocations: 0 / 1.61 GB, free: 279.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001367/1.323, allocations: 468.8 kB / 1.61 GB, free: 279.7 MB / 1.295 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.008379/1.332, allocations: 4.045 MB / 1.614 GB, free: 278.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004026/1.336, allocations: 1.613 MB / 1.616 GB, free: 277.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.336, allocations: 5.5 kB / 1.616 GB, free: 277.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002019/1.338, allocations: 0.8039 MB / 1.616 GB, free: 277.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/1.342, allocations: 0.9835 MB / 1.617 GB, free: 277.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/1.368, allocations: 14.83 MB / 1.632 GB, free: 270.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/1.369, allocations: 0.7964 MB / 1.633 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002091/1.371, allocations: 463.9 kB / 1.633 GB, free: 270.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/1.372, allocations: 0.7217 MB / 1.634 GB, free: 269.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.232e-06/1.372, allocations: 0 / 1.634 GB, free: 269.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08257/1.455, allocations: 55.78 MB / 1.688 GB, free: 222.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/14.12, allocations: 9.359 kB / 1.688 GB, free: 222.3 MB / 1.295 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.5744159813039]