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.00133/0.00133, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001572/0.001572, allocations: 213.7 kB / 23.03 MB, free: 4.922 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.013/3.013, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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="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.001962/0.001962, allocations: 71.02 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2581/0.5829, allocations: 214.5 MB / 1.536 GB, free: 10.18 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.597, allocations: 8.036 MB / 1.544 GB, free: 2.133 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.5989, allocations: 95.12 kB / 1.544 GB, free: 2.039 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.6014, allocations: 1.049 MB / 1.545 GB, free: 0.9844 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007851/0.6093, allocations: 3.221 MB / 1.548 GB, free: 13.75 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008295/0.6176, allocations: 3.51 MB / 1.552 GB, free: 10.23 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.006545/0.6241, allocations: 3.991 MB / 1.556 GB, free: 6.227 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.6264, allocations: 1.104 MB / 1.557 GB, free: 5.09 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.6313, allocations: 2.324 MB / 1.559 GB, free: 2.758 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.6338, allocations: 1.44 MB / 1.56 GB, free: 1.312 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.6341, allocations: 128 kB / 1.56 GB, free: 1.188 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006285/0.6404, allocations: 3.214 MB / 1.564 GB, free: 13.96 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008465/0.6412, allocations: 0.615 MB / 1.564 GB, free: 13.35 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.6424, allocations: 0.8124 MB / 1.565 GB, free: 12.53 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.6508, allocations: 3.725 MB / 1.569 GB, free: 8.793 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6508, allocations: 0 / 1.569 GB, free: 8.793 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6508, allocations: 0 / 1.569 GB, free: 8.793 MB / 1.264 GB Notification: Performance of Transformations before backend: time 4.591e-05/0.6508, allocations: 0 / 1.569 GB, free: 8.793 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.006728/0.6575, allocations: 2.65 MB / 1.571 GB, free: 6.09 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6576, allocations: 12.03 kB / 1.571 GB, free: 6.078 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.653e-05/0.6576, allocations: 34.56 kB / 1.571 GB, free: 6.043 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002369/0.6579, allocations: 194.4 kB / 1.571 GB, free: 5.844 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007208/0.6651, allocations: 1.095 MB / 1.572 GB, free: 4.746 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.6677, allocations: 1.15 MB / 1.574 GB, free: 3.551 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/0.6677, allocations: 98.56 kB / 1.574 GB, free: 3.453 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.668, allocations: 131.9 kB / 1.574 GB, free: 3.324 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.6722, allocations: 1.987 MB / 1.576 GB, free: 1.191 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.6722, allocations: 7.938 kB / 1.576 GB, free: 1.184 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.6724, allocations: 55.98 kB / 1.576 GB, free: 1.129 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.013e-05/0.6725, allocations: 66.23 kB / 1.576 GB, free: 1.062 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.6773, allocations: 1.882 MB / 1.578 GB, free: 15.17 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.6881, allocations: 7.203 MB / 1.585 GB, free: 7.734 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.6927, allocations: 1.546 MB / 1.586 GB, free: 6.184 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/0.6948, allocations: 0.7538 MB / 1.587 GB, free: 5.43 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/0.6955, allocations: 132.9 kB / 1.587 GB, free: 5.301 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002245/0.6978, allocations: 0.876 MB / 1.588 GB, free: 4.41 MB / 1.279 GB Notification: Performance of pre-optimization done (n=104): time 3.747e-06/0.6978, allocations: 0 / 1.588 GB, free: 4.41 MB / 1.279 GB Notification: Performance of matching and sorting (n=104): time 0.006637/0.7044, allocations: 2.349 MB / 1.59 GB, free: 2.055 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.7045, allocations: 64.41 kB / 1.59 GB, free: 1.98 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.7072, allocations: 1.725 MB / 1.592 GB, free: 212 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.7073, allocations: 45.7 kB / 1.592 GB, free: 160 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.7084, allocations: 0.8519 MB / 1.593 GB, free: 15.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006056/0.709, allocations: 372.8 kB / 1.593 GB, free: 14.93 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.7094, allocations: 242.8 kB / 1.594 GB, free: 14.69 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.7096, allocations: 357.9 kB / 1.594 GB, free: 14.33 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.7116, allocations: 0.6699 MB / 1.594 GB, free: 13.66 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.7139, allocations: 1.288 MB / 1.596 GB, free: 12.16 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/0.7179, allocations: 1.723 MB / 1.597 GB, free: 10.29 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.7179, allocations: 4 kB / 1.597 GB, free: 10.28 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004935/0.7228, allocations: 1.949 MB / 1.599 GB, free: 8.324 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.7229, allocations: 8 kB / 1.599 GB, free: 8.316 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.7229, allocations: 12 kB / 1.599 GB, free: 8.305 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/0.7229, allocations: 16 kB / 1.599 GB, free: 8.289 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.7246, allocations: 359.5 kB / 1.6 GB, free: 7.938 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/0.7247, allocations: 23.92 kB / 1.6 GB, free: 7.914 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.7264, allocations: 254.7 kB / 1.6 GB, free: 7.664 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.7266, allocations: 67.91 kB / 1.6 GB, free: 7.598 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.0007628/0.7273, allocations: 403.3 kB / 1.6 GB, free: 7.191 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.7277, allocations: 202.7 kB / 1.601 GB, free: 6.992 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/0.7324, allocations: 1.836 MB / 1.602 GB, free: 5.148 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7324, allocations: 11.94 kB / 1.602 GB, free: 5.137 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.7324, allocations: 4 kB / 1.602 GB, free: 5.133 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.7324, allocations: 3.984 kB / 1.602 GB, free: 5.129 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008201/0.7406, allocations: 3.804 MB / 1.606 GB, free: 1.172 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.7406, allocations: 7.938 kB / 1.606 GB, free: 1.164 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.7421, allocations: 279.7 kB / 1.606 GB, free: 0.8906 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.7422, allocations: 11.98 kB / 1.606 GB, free: 0.8789 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.7423, allocations: 39.97 kB / 1.606 GB, free: 0.8398 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/0.7423, allocations: 11.94 kB / 1.606 GB, free: 0.8281 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.7423, allocations: 12 kB / 1.607 GB, free: 0.8164 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7225/1.465, allocations: 2.936 MB / 1.609 GB, free: 279.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.466, allocations: 328.4 kB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/1.466, allocations: 30.73 kB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.468, allocations: 121.3 kB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/1.468, allocations: 94.92 kB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.468, allocations: 47.7 kB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001906/1.47, allocations: 1.179 MB / 1.611 GB, free: 279.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/1.47, allocations: 1.094 kB / 1.611 GB, free: 279.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001476/1.471, allocations: 470.7 kB / 1.612 GB, free: 279.4 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.008531/1.48, allocations: 3.993 MB / 1.615 GB, free: 277.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004197/1.484, allocations: 1.588 MB / 1.617 GB, free: 277.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.037e-05/1.484, allocations: 2.75 kB / 1.617 GB, free: 277.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002596/1.487, allocations: 0.7901 MB / 1.618 GB, free: 277 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/1.492, allocations: 0.9309 MB / 1.619 GB, free: 276.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/1.525, allocations: 15.08 MB / 1.633 GB, free: 270 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/1.526, allocations: 0.802 MB / 1.634 GB, free: 269.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001961/1.528, allocations: 462.8 kB / 1.635 GB, free: 269.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009348/1.529, allocations: 0.7193 MB / 1.635 GB, free: 269.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.102e-06/1.529, allocations: 0 / 1.635 GB, free: 269.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07809/1.607, allocations: 53.72 MB / 1.688 GB, free: 222.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/17.09, allocations: 4.062 kB / 1.688 GB, free: 222.8 MB / 1.295 GB " [Timeout remaining time 283] (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: 23.913212302024476]