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.001438/0.001438, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001656/0.001656, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.36/3.36, allocations: 0.49 GB / 0.7959 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.00232/0.00232, allocations: 63.84 kB / 1.155 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3842, allocations: 176.1 MB / 1.327 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.3186/0.7028, allocations: 246.5 MB / 1.567 GB, free: 10.55 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.7196, allocations: 8.571 MB / 1.576 GB, free: 1.965 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.7229, allocations: 95.12 kB / 1.576 GB, free: 1.871 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003894/0.7268, allocations: 1.076 MB / 1.577 GB, free: 0.7891 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.7373, allocations: 3.276 MB / 1.58 GB, free: 13.5 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.7485, allocations: 3.6 MB / 1.584 GB, free: 9.891 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.008123/0.7566, allocations: 3.991 MB / 1.587 GB, free: 5.883 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003044/0.7597, allocations: 1.112 MB / 1.589 GB, free: 4.742 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006164/0.7658, allocations: 2.312 MB / 1.591 GB, free: 2.422 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.769, allocations: 1.444 MB / 1.592 GB, free: 0.9727 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000675/0.7696, allocations: 128 kB / 1.592 GB, free: 0.8477 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009892/0.7795, allocations: 4.263 MB / 1.597 GB, free: 12.57 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.781, allocations: 0.6073 MB / 1.597 GB, free: 11.96 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.7837, allocations: 0.9908 MB / 1.598 GB, free: 10.97 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.797, allocations: 3.87 MB / 1.602 GB, free: 7.086 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.797, allocations: 0 / 1.602 GB, free: 7.086 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.144e-06/0.797, allocations: 0 / 1.602 GB, free: 7.086 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001309/0.7971, allocations: 4 kB / 1.602 GB, free: 7.082 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.009664/0.8068, allocations: 2.658 MB / 1.604 GB, free: 4.371 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.8069, allocations: 12.03 kB / 1.604 GB, free: 4.359 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.965e-05/0.807, allocations: 30.56 kB / 1.605 GB, free: 4.328 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000497/0.8074, allocations: 194.4 kB / 1.605 GB, free: 4.129 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007743/0.8152, allocations: 1.099 MB / 1.606 GB, free: 3.027 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.8189, allocations: 1.168 MB / 1.607 GB, free: 1.812 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.8191, allocations: 102.5 kB / 1.607 GB, free: 1.711 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005501/0.8196, allocations: 127.9 kB / 1.607 GB, free: 1.586 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9136/1.733, allocations: 1.975 MB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.756e-05/1.733, allocations: 9.375 kB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/1.734, allocations: 56.42 kB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/1.734, allocations: 62.69 kB / 1.609 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006948/1.741, allocations: 1.87 MB / 1.611 GB, free: 280.6 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/1.756, allocations: 9.097 MB / 1.62 GB, free: 274 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005399/1.761, allocations: 1.544 MB / 1.621 GB, free: 273.6 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/1.763, allocations: 0.7508 MB / 1.622 GB, free: 273.4 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/1.764, allocations: 142.9 kB / 1.622 GB, free: 273.4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002911/1.767, allocations: 0.8652 MB / 1.623 GB, free: 273.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=104): time 4.518e-06/1.767, allocations: 0 / 1.623 GB, free: 273.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=104): time 0.009216/1.776, allocations: 2.324 MB / 1.625 GB, free: 272.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/1.777, allocations: 67.19 kB / 1.625 GB, free: 272.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/1.781, allocations: 1.695 MB / 1.627 GB, free: 271.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004141/1.782, allocations: 49.38 kB / 1.627 GB, free: 271.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009559/1.783, allocations: 0.8591 MB / 1.628 GB, free: 271.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006839/1.783, allocations: 380.8 kB / 1.628 GB, free: 270.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005307/1.784, allocations: 238.5 kB / 1.629 GB, free: 270.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.784, allocations: 352.9 kB / 1.629 GB, free: 270.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.786, allocations: 0.6627 MB / 1.63 GB, free: 270.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/1.789, allocations: 1.05 MB / 1.631 GB, free: 269.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005225/1.794, allocations: 1.716 MB / 1.632 GB, free: 268.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/1.794, allocations: 3.891 kB / 1.632 GB, free: 268.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.007492/1.802, allocations: 1.92 MB / 1.634 GB, free: 268.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/1.802, allocations: 9.781 kB / 1.634 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.802, allocations: 11.47 kB / 1.634 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.5e-05/1.802, allocations: 17.39 kB / 1.634 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/1.804, allocations: 374 kB / 1.635 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.189e-05/1.804, allocations: 24.14 kB / 1.635 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.807, allocations: 257.8 kB / 1.635 GB, free: 268 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/1.807, allocations: 66.28 kB / 1.635 GB, free: 268 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.001429/1.809, allocations: 400.2 kB / 1.635 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007448/1.81, allocations: 197.7 kB / 1.635 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/1.816, allocations: 1.813 MB / 1.637 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.816, allocations: 14.47 kB / 1.637 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.816, allocations: 0 / 1.637 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/1.816, allocations: 9.609 kB / 1.637 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.828, allocations: 3.935 MB / 1.641 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/1.828, allocations: 10.66 kB / 1.641 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.83, allocations: 263.9 kB / 1.641 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.625e-05/1.83, allocations: 14.39 kB / 1.641 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003345/1.83, allocations: 39.94 kB / 1.641 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.664e-05/1.83, allocations: 15.27 kB / 1.641 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/1.83, allocations: 11.62 kB / 1.641 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00871/1.839, allocations: 2.893 MB / 1.644 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.841, allocations: 322 kB / 1.645 GB, free: 263.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007598/1.841, allocations: 32.52 kB / 1.645 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.843, allocations: 123 kB / 1.645 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/1.844, allocations: 87.06 kB / 1.645 GB, free: 263.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.844, allocations: 45.28 kB / 1.645 GB, free: 263.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002247/1.846, allocations: 1.163 MB / 1.646 GB, free: 262.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/1.846, allocations: 0 / 1.646 GB, free: 262.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002418/1.849, allocations: 473.5 kB / 1.646 GB, free: 262.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.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 (107): * Single equations (assignments): 101 * 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.009441/1.858, allocations: 3.92 MB / 1.65 GB, free: 260.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005407/1.864, allocations: 1.582 MB / 1.652 GB, free: 259.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/1.864, allocations: 0 / 1.652 GB, free: 259.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/1.866, allocations: 0.7688 MB / 1.653 GB, free: 259.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006431/1.872, allocations: 0.934 MB / 1.653 GB, free: 258.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03513/1.908, allocations: 15.02 MB / 1.668 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.909, allocations: 1.379 MB / 1.669 GB, free: 242.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002147/1.911, allocations: 465.2 kB / 1.67 GB, free: 242.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.912, allocations: 0.714 MB / 1.671 GB, free: 241.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.563e-06/1.912, allocations: 0 / 1.671 GB, free: 241.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09312/2.005, allocations: 50.38 MB / 1.72 GB, free: 191.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.82/26.82, allocations: 9.266 kB / 1.72 GB, free: 191.7 MB / 1.295 GB " [Timeout remaining time 273] (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: 34.34150080301333]