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.001768/0.001768, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002434/0.002434, allocations: 216.2 kB / 22.24 MB, free: 5.258 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.82 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 2.907/2.907, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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_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: 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.001915/0.001915, allocations: 64.97 kB / 1.154 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3108, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2408/0.5516, allocations: 214.7 MB / 1.536 GB, free: 9.977 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.5647, allocations: 8.053 MB / 1.543 GB, free: 1.906 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.5664, allocations: 99.12 kB / 1.544 GB, free: 1.809 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.5687, allocations: 1.045 MB / 1.545 GB, free: 0.7578 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.5761, allocations: 3.228 MB / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.007954/0.5841, allocations: 3.507 MB / 1.551 GB, free: 10 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005784/0.5898, allocations: 3.987 MB / 1.555 GB, free: 6 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.5919, allocations: 1.104 MB / 1.556 GB, free: 4.863 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005104/0.597, allocations: 2.328 MB / 1.558 GB, free: 2.527 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.5995, allocations: 1.436 MB / 1.56 GB, free: 1.086 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.5998, allocations: 128 kB / 1.56 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006741/0.6065, allocations: 3.214 MB / 1.563 GB, free: 13.74 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008725/0.6074, allocations: 0.615 MB / 1.564 GB, free: 13.12 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.6087, allocations: 0.8124 MB / 1.564 GB, free: 12.3 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.007265/0.6159, allocations: 3.721 MB / 1.568 GB, free: 8.57 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.6159, allocations: 8 kB / 1.568 GB, free: 8.562 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6159, allocations: 3.938 kB / 1.568 GB, free: 8.559 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.616, allocations: 0 / 1.568 GB, free: 8.559 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.006534/0.6225, allocations: 2.647 MB / 1.571 GB, free: 5.859 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.6226, allocations: 8.031 kB / 1.571 GB, free: 5.852 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.6228, allocations: 198.4 kB / 1.571 GB, free: 5.648 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007095/0.6299, allocations: 1.091 MB / 1.572 GB, free: 4.555 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.6326, allocations: 1.142 MB / 1.573 GB, free: 3.367 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.6327, allocations: 102.5 kB / 1.573 GB, free: 3.266 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.6329, allocations: 136 kB / 1.573 GB, free: 3.133 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003942/0.6369, allocations: 1.987 MB / 1.575 GB, free: 1 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.6369, allocations: 8 kB / 1.575 GB, free: 0.9922 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.6371, allocations: 52 kB / 1.575 GB, free: 0.9414 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/0.6371, allocations: 70.23 kB / 1.575 GB, free: 0.8711 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004506/0.6417, allocations: 1.882 MB / 1.577 GB, free: 14.98 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.6523, allocations: 7.195 MB / 1.584 GB, free: 7.551 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/0.6563, allocations: 1.561 MB / 1.586 GB, free: 5.984 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.6582, allocations: 0.7496 MB / 1.586 GB, free: 5.234 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000708/0.6589, allocations: 137.5 kB / 1.587 GB, free: 5.102 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/0.661, allocations: 0.8715 MB / 1.587 GB, free: 4.211 MB / 1.279 GB Notification: Performance of pre-optimization done (n=104): time 3.416e-06/0.661, allocations: 0 / 1.587 GB, free: 4.211 MB / 1.279 GB Notification: Performance of matching and sorting (n=104): time 0.006245/0.6672, allocations: 2.342 MB / 1.59 GB, free: 1.867 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.6673, allocations: 60.41 kB / 1.59 GB, free: 1.797 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.6696, allocations: 1.744 MB / 1.591 GB, free: 4 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.6697, allocations: 45.7 kB / 1.592 GB, free: 15.95 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/0.6704, allocations: 0.8519 MB / 1.592 GB, free: 15.09 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.6708, allocations: 376.8 kB / 1.593 GB, free: 14.72 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.6712, allocations: 242.8 kB / 1.593 GB, free: 14.48 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6714, allocations: 361.9 kB / 1.593 GB, free: 14.12 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.6731, allocations: 0.6738 MB / 1.594 GB, free: 13.45 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.6753, allocations: 1.284 MB / 1.595 GB, free: 11.94 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/0.679, allocations: 1.723 MB / 1.597 GB, free: 10.07 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.6791, allocations: 0 / 1.597 GB, free: 10.07 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004584/0.6836, allocations: 1.941 MB / 1.599 GB, free: 8.117 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6837, allocations: 12 kB / 1.599 GB, free: 8.105 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.6837, allocations: 12 kB / 1.599 GB, free: 8.094 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.6837, allocations: 16 kB / 1.599 GB, free: 8.078 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.6855, allocations: 372 kB / 1.599 GB, free: 7.715 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.6855, allocations: 23.92 kB / 1.599 GB, free: 7.691 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.6872, allocations: 254.7 kB / 1.599 GB, free: 7.441 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.6873, allocations: 59.98 kB / 1.599 GB, free: 7.383 MB / 1.295 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.0006659/0.688, allocations: 407.3 kB / 1.6 GB, free: 6.977 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.6883, allocations: 198.7 kB / 1.6 GB, free: 6.781 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.6928, allocations: 1.836 MB / 1.602 GB, free: 4.941 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.6928, allocations: 8 kB / 1.602 GB, free: 4.934 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6928, allocations: 4 kB / 1.602 GB, free: 4.93 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6928, allocations: 7.984 kB / 1.602 GB, free: 4.922 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.7005, allocations: 3.799 MB / 1.606 GB, free: 0.9688 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.7005, allocations: 4 kB / 1.606 GB, free: 0.9648 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.7021, allocations: 284.1 kB / 1.606 GB, free: 0.6875 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.7021, allocations: 8.094 kB / 1.606 GB, free: 0.6797 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.7022, allocations: 39.91 kB / 1.606 GB, free: 0.6406 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.7022, allocations: 15.94 kB / 1.606 GB, free: 0.625 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.7022, allocations: 11.94 kB / 1.606 GB, free: 0.6133 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6338/1.336, allocations: 2.935 MB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009109/1.337, allocations: 325.2 kB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/1.337, allocations: 30.45 kB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.339, allocations: 121.2 kB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/1.339, allocations: 96.78 kB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/1.339, allocations: 52.42 kB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001857/1.341, allocations: 1.175 MB / 1.611 GB, free: 278.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.341, allocations: 0 / 1.611 GB, free: 278.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001572/1.342, allocations: 478.6 kB / 1.611 GB, free: 278.8 MB / 1.295 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.008089/1.35, allocations: 3.975 MB / 1.615 GB, free: 277.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004485/1.355, allocations: 1.597 MB / 1.616 GB, free: 276.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.355, allocations: 1.906 kB / 1.616 GB, free: 276.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002512/1.357, allocations: 0.7865 MB / 1.617 GB, free: 276.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/1.362, allocations: 0.9336 MB / 1.618 GB, free: 276.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/1.392, allocations: 15.08 MB / 1.633 GB, free: 269.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009349/1.393, allocations: 0.7988 MB / 1.634 GB, free: 269.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001823/1.395, allocations: 459.8 kB / 1.634 GB, free: 269.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008628/1.396, allocations: 0.7151 MB / 1.635 GB, free: 268.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.82e-07/1.396, allocations: 0 / 1.635 GB, free: 268.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0832/1.479, allocations: 54.38 MB / 1.688 GB, free: 221.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.58, allocations: 6.75 kB / 1.688 GB, free: 221.7 MB / 1.295 GB " [Timeout remaining time 286] (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/jenkins1/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: 19.921253634005552]