Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 104.1 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 60.12 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8853, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2134/1.099, allocations: 193.8 MB / 1.357 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008695/1.107, allocations: 5.135 MB / 1.362 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/1.109, allocations: 47.69 kB / 1.362 GB, free: 12.03 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001991/1.111, allocations: 0.8275 MB / 1.362 GB, free: 11.2 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006283/1.117, allocations: 2.693 MB / 1.365 GB, free: 8.496 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/1.12, allocations: 1.112 MB / 1.366 GB, free: 7.391 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003284/1.123, allocations: 2.609 MB / 1.369 GB, free: 4.773 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/1.125, allocations: 0.8863 MB / 1.37 GB, free: 3.875 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/1.127, allocations: 1.125 MB / 1.371 GB, free: 2.746 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/1.128, allocations: 0.9573 MB / 1.372 GB, free: 1.785 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/1.129, allocations: 80 kB / 1.372 GB, free: 1.707 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/1.132, allocations: 1.793 MB / 1.373 GB, free: 15.91 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006063/1.133, allocations: 442.7 kB / 1.374 GB, free: 15.48 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/1.134, allocations: 0.6487 MB / 1.375 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/1.138, allocations: 2.165 MB / 1.377 GB, free: 12.65 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.138, allocations: 0 / 1.377 GB, free: 12.65 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.483e-06/1.138, allocations: 3.938 kB / 1.377 GB, free: 12.65 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.605e-05/1.138, allocations: 0 / 1.377 GB, free: 12.65 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005617/1.144, allocations: 1.93 MB / 1.379 GB, free: 10.66 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.144, allocations: 12.92 kB / 1.379 GB, free: 10.65 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/1.148, allocations: 0.7083 MB / 1.379 GB, free: 9.938 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/1.15, allocations: 0.9449 MB / 1.38 GB, free: 8.938 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/1.15, allocations: 69.98 kB / 1.38 GB, free: 8.867 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/1.151, allocations: 95.98 kB / 1.38 GB, free: 8.773 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/1.154, allocations: 1.469 MB / 1.382 GB, free: 7.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/1.154, allocations: 0 / 1.382 GB, free: 7.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/1.154, allocations: 32 kB / 1.382 GB, free: 7.219 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-05/1.154, allocations: 53.92 kB / 1.382 GB, free: 7.164 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/1.158, allocations: 1.557 MB / 1.383 GB, free: 5.609 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008437/1.167, allocations: 5.018 MB / 1.388 GB, free: 328 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/1.171, allocations: 1.189 MB / 1.389 GB, free: 15.12 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/1.172, allocations: 0.6651 MB / 1.39 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.174, allocations: 0.9449 MB / 1.391 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/1.176, allocations: 0.7301 MB / 1.392 GB, free: 12.58 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 3.467e-06/1.176, allocations: 0 / 1.392 GB, free: 12.58 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.006218/1.182, allocations: 1.944 MB / 1.394 GB, free: 10.63 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/1.182, allocations: 60.06 kB / 1.394 GB, free: 10.56 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/1.184, allocations: 1.272 MB / 1.395 GB, free: 9.285 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.184, allocations: 49.7 kB / 1.395 GB, free: 9.23 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/1.185, allocations: 0.5677 MB / 1.396 GB, free: 8.656 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/1.185, allocations: 280 kB / 1.396 GB, free: 8.379 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/1.185, allocations: 182.5 kB / 1.396 GB, free: 8.195 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.185, allocations: 349.9 kB / 1.396 GB, free: 7.848 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/1.187, allocations: 0.5484 MB / 1.397 GB, free: 7.297 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/1.189, allocations: 0.8247 MB / 1.398 GB, free: 6.371 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/1.192, allocations: 1.34 MB / 1.399 GB, free: 4.938 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.192, allocations: 4 kB / 1.399 GB, free: 4.934 MB / 1.123 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00427/1.197, allocations: 1.511 MB / 1.4 GB, free: 3.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.197, allocations: 8.094 kB / 1.4 GB, free: 3.402 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.197, allocations: 12 kB / 1.4 GB, free: 3.391 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/1.197, allocations: 12 kB / 1.4 GB, free: 3.379 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.198, allocations: 287.6 kB / 1.401 GB, free: 3.098 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/1.198, allocations: 19.92 kB / 1.401 GB, free: 3.078 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.2, allocations: 206.7 kB / 1.401 GB, free: 2.875 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.2, allocations: 47.92 kB / 1.401 GB, free: 2.828 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0006283/1.201, allocations: 343.6 kB / 1.401 GB, free: 2.484 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.201, allocations: 134.3 kB / 1.401 GB, free: 2.352 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/1.205, allocations: 1.448 MB / 1.403 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.205, allocations: 11.94 kB / 1.403 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.205, allocations: 0 / 1.403 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.205, allocations: 3.984 kB / 1.403 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006524/1.212, allocations: 2.869 MB / 1.406 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.212, allocations: 4 kB / 1.406 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.213, allocations: 228.1 kB / 1.406 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/1.213, allocations: 4 kB / 1.406 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/1.213, allocations: 35.97 kB / 1.406 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/1.213, allocations: 11.94 kB / 1.406 GB, free: 13.63 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.213, allocations: 4 kB / 1.406 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/1.219, allocations: 2.307 MB / 1.408 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/1.22, allocations: 307.2 kB / 1.408 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/1.22, allocations: 24 kB / 1.409 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.221, allocations: 103.9 kB / 1.409 GB, free: 10.81 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.221, allocations: 68.52 kB / 1.409 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/1.221, allocations: 35.97 kB / 1.409 GB, free: 10.7 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001179/1.223, allocations: 0.8762 MB / 1.41 GB, free: 9.824 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/1.223, allocations: 0 / 1.41 GB, free: 9.824 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001114/1.224, allocations: 311.6 kB / 1.41 GB, free: 9.52 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.001288/1.225, allocations: 0.5468 MB / 1.41 GB, free: 9.137 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003757/1.229, allocations: 1.316 MB / 1.412 GB, free: 7.82 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.229, allocations: 4 kB / 1.412 GB, free: 7.816 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.231, allocations: 0.656 MB / 1.412 GB, free: 7.164 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/1.234, allocations: 0.6238 MB / 1.413 GB, free: 6.551 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/1.239, allocations: 2.624 MB / 1.415 GB, free: 3.844 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008765/1.24, allocations: 1.173 MB / 1.417 GB, free: 2.645 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005685/1.24, allocations: 127.4 kB / 1.417 GB, free: 2.52 MB / 1.139 GB Notification: Performance of SimCode: time 5.61e-07/1.24, allocations: 0 / 1.417 GB, free: 2.52 MB / 1.139 GB Notification: Performance of Templates: time 0.03111/1.271, allocations: 21.02 MB / 1.437 GB, free: 13.64 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches