Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.2 MB / 0.6646 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.702/0.7042, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003745/0.708, allocations: 2.732 MB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.7111, allocations: 2.789 MB / 0.955 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.7113, allocations: 8.719 kB / 0.955 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.7126, allocations: 493.2 kB / 0.9554 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.713, allocations: 259.1 kB / 0.9557 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.7137, allocations: 392.2 kB / 0.9561 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.7149, allocations: 1.536 MB / 0.9576 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.7152, allocations: 135.2 kB / 0.9577 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.7157, allocations: 471 kB / 0.9581 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.7162, allocations: 412.5 kB / 0.9585 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.35e-05/0.7163, allocations: 48.62 kB / 0.9586 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.7164, allocations: 52.84 kB / 0.9586 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.7167, allocations: 262.7 kB / 0.9589 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.717, allocations: 376 kB / 0.9592 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.7176, allocations: 0.9026 MB / 0.9601 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7176, allocations: 1.25 kB / 0.9601 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7176, allocations: 0 / 0.9601 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.7176, allocations: 0 / 0.9601 GB, free: 1.641 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001726/0.7194, allocations: 1.151 MB / 0.9612 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.7194, allocations: 9.844 kB / 0.9612 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.7196, allocations: 78.31 kB / 0.9613 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.7203, allocations: 0.6456 MB / 0.9619 GB, free: 244 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.7204, allocations: 27.97 kB / 0.962 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.7204, allocations: 46.56 kB / 0.962 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.721, allocations: 376 kB / 0.9624 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.721, allocations: 0 / 0.9624 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.721, allocations: 14.34 kB / 0.9624 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.721, allocations: 5.938 kB / 0.9624 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.7214, allocations: 231.5 kB / 0.9626 GB, free: 15.83 MB / 0.7325 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.003443/0.7249, allocations: 2.456 MB / 0.965 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000983/0.7259, allocations: 406.9 kB / 0.9654 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.7261, allocations: 142.1 kB / 0.9655 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.7261, allocations: 2.031 kB / 0.9655 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.7262, allocations: 35.38 kB / 0.9656 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.7262, allocations: 0 / 0.9656 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0009838/0.7272, allocations: 0.5345 MB / 0.9661 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.7272, allocations: 53.47 kB / 0.9662 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.7284, allocations: 0.9377 MB / 0.9671 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.7284, allocations: 36.33 kB / 0.9671 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.7287, allocations: 300.3 kB / 0.9674 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.7288, allocations: 72.14 kB / 0.9675 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.7289, allocations: 127.1 kB / 0.9676 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.7291, allocations: 384.1 kB / 0.9679 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.7295, allocations: 241.1 kB / 0.9682 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.73, allocations: 0.4957 MB / 0.9687 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/0.7309, allocations: 0.6973 MB / 0.9693 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.7309, allocations: 2.219 kB / 0.9693 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001215/0.7321, allocations: 0.8165 MB / 0.9701 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.7321, allocations: 10 kB / 0.9701 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7322, allocations: 9.969 kB / 0.9702 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.7324, allocations: 55.41 kB / 0.9702 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.7328, allocations: 142.5 kB / 0.9703 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.7341, allocations: 1.535 MB / 0.9718 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.7348, allocations: 122.8 kB / 0.972 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.7349, allocations: 26.81 kB / 0.972 GB, free: 8.449 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003903/0.7353, allocations: 348.9 kB / 0.9723 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.7354, allocations: 66.31 kB / 0.9724 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.7355, allocations: 70.97 kB / 0.9725 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7355, allocations: 2.219 kB / 0.9725 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7355, allocations: 5.078 kB / 0.9725 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7355, allocations: 0 / 0.9725 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.7362, allocations: 0.5712 MB / 0.973 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7362, allocations: 5.469 kB / 0.973 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.7364, allocations: 49.44 kB / 0.9731 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.7366, allocations: 44.62 kB / 0.9731 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.7366, allocations: 11.84 kB / 0.9731 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.7378, allocations: 1.521 MB / 0.9746 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7378, allocations: 0 / 0.9746 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007898/0.7386, allocations: 0.5691 MB / 0.9752 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.7388, allocations: 204 kB / 0.9754 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.7389, allocations: 8.172 kB / 0.9754 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.7393, allocations: 48.64 kB / 0.9754 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.7394, allocations: 10.48 kB / 0.9754 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.7394, allocations: 7.188 kB / 0.9754 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008632/0.7403, allocations: 0.6636 MB / 0.9761 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7403, allocations: 0 / 0.9761 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007399/0.741, allocations: 182.6 kB / 0.9763 GB, free: 5.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.7412, allocations: 115.2 kB / 0.9764 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009594/0.7421, allocations: 0.6036 MB / 0.977 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7421, allocations: 0 / 0.977 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.7425, allocations: 253.5 kB / 0.9772 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.7433, allocations: 166.3 kB / 0.9774 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.7457, allocations: 1.533 MB / 0.9788 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.7464, allocations: 1.01 MB / 0.9798 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004173/0.7468, allocations: 184.5 kB / 0.98 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.7469, allocations: 35.44 kB / 0.98 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.164e-06/0.7469, allocations: 4 kB / 0.98 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of Templates: time 0.0151/0.762, allocations: 8.42 MB / 0.9883 GB, free: 9.195 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches