Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001355/0.001355, allocations: 120 kB / 17.17 MB, free: 5.977 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.001629/0.001629, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.864/2.864, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",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.002032/0.002032, allocations: 71.89 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9412, allocations: 179 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.3082/1.249, allocations: 245.7 MB / 1.58 GB, free: 2.215 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01562/1.265, allocations: 8.537 MB / 1.588 GB, free: 9.66 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/1.268, allocations: 95.12 kB / 1.589 GB, free: 9.566 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/1.271, allocations: 1.08 MB / 1.59 GB, free: 8.48 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009363/1.28, allocations: 3.237 MB / 1.593 GB, free: 5.23 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009157/1.29, allocations: 3.491 MB / 1.596 GB, free: 1.734 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006954/1.297, allocations: 3.936 MB / 1.6 GB, free: 13.79 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/1.299, allocations: 1.158 MB / 1.601 GB, free: 12.59 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/1.305, allocations: 2.297 MB / 1.603 GB, free: 10.29 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/1.307, allocations: 1.455 MB / 1.605 GB, free: 8.828 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003328/1.308, allocations: 128 kB / 1.605 GB, free: 8.703 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009524/1.317, allocations: 4.169 MB / 1.609 GB, free: 4.523 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001688/1.319, allocations: 0.6112 MB / 1.61 GB, free: 3.91 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001971/1.321, allocations: 0.9947 MB / 1.611 GB, free: 2.91 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.00949/1.33, allocations: 3.885 MB / 1.614 GB, free: 15.01 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.33, allocations: 0 / 1.614 GB, free: 15.01 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.693e-06/1.33, allocations: 0 / 1.614 GB, free: 15.01 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.77e-05/1.33, allocations: 0 / 1.614 GB, free: 15.01 MB / 1.295 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.007262/1.338, allocations: 2.733 MB / 1.617 GB, free: 12.21 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.338, allocations: 16.02 kB / 1.617 GB, free: 12.19 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.484e-05/1.338, allocations: 34.56 kB / 1.617 GB, free: 12.16 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002603/1.338, allocations: 194.4 kB / 1.617 GB, free: 11.96 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/1.346, allocations: 1.134 MB / 1.618 GB, free: 10.82 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/1.349, allocations: 1.287 MB / 1.62 GB, free: 9.48 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.349, allocations: 94.56 kB / 1.62 GB, free: 9.387 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/1.349, allocations: 131.9 kB / 1.62 GB, free: 9.258 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/1.354, allocations: 1.959 MB / 1.622 GB, free: 7.172 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/1.354, allocations: 3.938 kB / 1.622 GB, free: 7.168 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/1.354, allocations: 63.97 kB / 1.622 GB, free: 7.105 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.11e-05/1.354, allocations: 62.34 kB / 1.622 GB, free: 7.043 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/1.359, allocations: 1.882 MB / 1.624 GB, free: 5.152 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/1.372, allocations: 8.676 MB / 1.632 GB, free: 11.89 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/1.376, allocations: 1.452 MB / 1.634 GB, free: 10.43 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/1.378, allocations: 0.7466 MB / 1.634 GB, free: 9.688 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/1.379, allocations: 0.9491 MB / 1.635 GB, free: 8.555 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/1.381, allocations: 0.8755 MB / 1.636 GB, free: 7.664 MB / 1.311 GB Notification: Performance of pre-optimization done (n=106): time 3.527e-06/1.381, allocations: 3.938 kB / 1.636 GB, free: 7.66 MB / 1.311 GB Notification: Performance of matching and sorting (n=106): time 0.007295/1.389, allocations: 2.396 MB / 1.638 GB, free: 5.262 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.389, allocations: 60.41 kB / 1.639 GB, free: 5.191 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/1.391, allocations: 1.738 MB / 1.64 GB, free: 3.406 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/1.392, allocations: 49.7 kB / 1.64 GB, free: 3.352 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007981/1.392, allocations: 0.8444 MB / 1.641 GB, free: 2.5 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.000425/1.393, allocations: 384.7 kB / 1.641 GB, free: 2.121 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004368/1.393, allocations: 242.8 kB / 1.642 GB, free: 1.879 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.393, allocations: 357.9 kB / 1.642 GB, free: 1.523 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/1.395, allocations: 0.6661 MB / 1.643 GB, free: 0.8555 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/1.398, allocations: 1.065 MB / 1.644 GB, free: 15.63 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/1.402, allocations: 1.71 MB / 1.645 GB, free: 13.78 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/1.402, allocations: 4 kB / 1.645 GB, free: 13.77 MB / 1.326 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005126/1.407, allocations: 1.929 MB / 1.647 GB, free: 11.84 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.407, allocations: 12.03 kB / 1.647 GB, free: 11.83 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.407, allocations: 12 kB / 1.647 GB, free: 11.82 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/1.407, allocations: 19.94 kB / 1.647 GB, free: 11.8 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/1.409, allocations: 355.5 kB / 1.648 GB, free: 11.45 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/1.409, allocations: 27.86 kB / 1.648 GB, free: 11.42 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.411, allocations: 254.6 kB / 1.648 GB, free: 11.17 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.411, allocations: 63.97 kB / 1.648 GB, free: 11.11 MB / 1.326 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.0007353/1.412, allocations: 396.1 kB / 1.648 GB, free: 10.71 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/1.412, allocations: 206.7 kB / 1.649 GB, free: 10.51 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004942/1.417, allocations: 1.821 MB / 1.65 GB, free: 8.684 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.417, allocations: 15.94 kB / 1.65 GB, free: 8.668 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.417, allocations: 0 / 1.65 GB, free: 8.668 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.417, allocations: 3.984 kB / 1.65 GB, free: 8.664 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008383/1.425, allocations: 4.002 MB / 1.654 GB, free: 4.508 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.425, allocations: 8 kB / 1.654 GB, free: 4.5 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.427, allocations: 272.2 kB / 1.655 GB, free: 4.234 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.157e-05/1.427, allocations: 15.94 kB / 1.655 GB, free: 4.219 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/1.427, allocations: 35.97 kB / 1.655 GB, free: 4.184 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/1.427, allocations: 15.94 kB / 1.655 GB, free: 4.168 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1.427, allocations: 7.938 kB / 1.655 GB, free: 4.16 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007107/1.434, allocations: 2.931 MB / 1.657 GB, free: 1.121 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008616/1.435, allocations: 403.4 kB / 1.658 GB, free: 0.707 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.435, allocations: 28 kB / 1.658 GB, free: 0.6797 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.437, allocations: 127.8 kB / 1.658 GB, free: 0.5547 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.437, allocations: 84.53 kB / 1.658 GB, free: 484 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.437, allocations: 55.95 kB / 1.658 GB, free: 428 kB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001868/1.439, allocations: 1.184 MB / 1.659 GB, free: 15.21 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.1e-07/1.439, allocations: 0 / 1.659 GB, free: 15.21 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.001522/1.441, allocations: 471.5 kB / 1.66 GB, free: 14.75 MB / 1.342 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 (106): * Single equations (assignments): 100 * 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.009305/1.45, allocations: 3.967 MB / 1.664 GB, free: 10.83 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.004696/1.455, allocations: 1.585 MB / 1.665 GB, free: 9.246 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.455, allocations: 3.938 kB / 1.665 GB, free: 9.242 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/1.457, allocations: 0.7859 MB / 1.666 GB, free: 8.453 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005012/1.462, allocations: 0.9679 MB / 1.667 GB, free: 7.5 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/1.491, allocations: 14.76 MB / 1.681 GB, free: 8.051 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.492, allocations: 1.368 MB / 1.683 GB, free: 6.656 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001829/1.494, allocations: 479 kB / 1.683 GB, free: 6.184 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.495, allocations: 0.7258 MB / 1.684 GB, free: 5.457 MB / 1.357 GB Notification: Performance of SimCode: time 7.92e-07/1.495, allocations: 0 / 1.684 GB, free: 5.457 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09615/1.591, allocations: 50.88 MB / 1.733 GB, free: 3.18 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.74, allocations: 25.23 kB / 1.734 GB, free: 3.16 MB / 1.404 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.357119830034208]