Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009939, allocations: 99.03 kB / 16.02 MB, free: 76 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.001442/0.001443, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.9 MB / 0.667 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6694, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.003801/0.6732, allocations: 4.395 MB / 0.96 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004303/0.6775, allocations: 3.245 MB / 0.9631 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005532/0.6781, allocations: 23.06 kB / 0.9632 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.6793, allocations: 494.8 kB / 0.9636 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.6805, allocations: 0.6655 MB / 0.9643 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.6818, allocations: 0.5665 MB / 0.9648 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.6853, allocations: 3.012 MB / 0.9678 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.6858, allocations: 265.9 kB / 0.968 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.6873, allocations: 0.7133 MB / 0.9687 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.6885, allocations: 0.7761 MB / 0.9695 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.6887, allocations: 47.41 kB / 0.9695 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.6889, allocations: 50.31 kB / 0.9696 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.6894, allocations: 469.1 kB / 0.97 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.6902, allocations: 0.7142 MB / 0.9707 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.6915, allocations: 1.276 MB / 0.972 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6915, allocations: 0 / 0.972 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6915, allocations: 0 / 0.972 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.499e-05/0.6915, allocations: 5.062 kB / 0.972 GB, free: 12.18 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003116/0.6946, allocations: 1.708 MB / 0.9736 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6947, allocations: 9.219 kB / 0.9737 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.695, allocations: 171.6 kB / 0.9738 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6968, allocations: 1.122 MB / 0.9749 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.6969, allocations: 64.03 kB / 0.975 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.697, allocations: 76.44 kB / 0.975 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.698, allocations: 0.5773 MB / 0.9756 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.698, allocations: 3.938 kB / 0.9756 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.6981, allocations: 16.78 kB / 0.9756 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.6981, allocations: 11.25 kB / 0.9756 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.6987, allocations: 357.3 kB / 0.976 GB, free: 9.41 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.005078/0.7038, allocations: 3.902 MB / 0.9798 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.705, allocations: 0.5076 MB / 0.9803 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.7053, allocations: 204.7 kB / 0.9805 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.7053, allocations: 0 / 0.9805 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.7054, allocations: 38.56 kB / 0.9805 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.182e-06/0.7054, allocations: 3.938 kB / 0.9805 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002215/0.7076, allocations: 1.092 MB / 0.9816 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.7076, allocations: 63.33 kB / 0.9816 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.71, allocations: 1.789 MB / 0.9834 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.7101, allocations: 49.7 kB / 0.9834 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/0.7106, allocations: 0.584 MB / 0.984 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.7108, allocations: 110.4 kB / 0.9841 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.7109, allocations: 133.6 kB / 0.9842 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7111, allocations: 357.9 kB / 0.9846 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.7116, allocations: 326.4 kB / 0.9849 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.7127, allocations: 0.9442 MB / 0.9858 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.7141, allocations: 1.275 MB / 0.9871 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.7141, allocations: 4 kB / 0.9871 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002256/0.7164, allocations: 1.456 MB / 0.9885 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.7164, allocations: 16 kB / 0.9885 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.7165, allocations: 20 kB / 0.9885 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.7171, allocations: 198.7 kB / 0.9887 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.7178, allocations: 235.6 kB / 0.9889 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.7219, allocations: 4.705 MB / 0.9935 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.7233, allocations: 182.6 kB / 0.9937 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.7233, allocations: 60 kB / 0.9938 GB, free: 6.699 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006867/0.724, allocations: 489.9 kB / 0.9942 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.7242, allocations: 138.1 kB / 0.9944 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.7245, allocations: 130.4 kB / 0.9945 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.7245, allocations: 4 kB / 0.9945 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.7245, allocations: 8 kB / 0.9945 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7245, allocations: 0 / 0.9945 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.7257, allocations: 0.9407 MB / 0.9954 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7257, allocations: 0 / 0.9954 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.7259, allocations: 47.91 kB / 0.9955 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.7264, allocations: 170.4 kB / 0.9956 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.7265, allocations: 8 kB / 0.9956 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/0.7303, allocations: 4.67 MB / 1 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7303, allocations: 0 / 1 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.7317, allocations: 0.8958 MB / 1.001 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.7322, allocations: 307.1 kB / 1.001 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7324, allocations: 4.312 kB / 1.001 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.733, allocations: 51.92 kB / 1.001 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.7331, allocations: 31.97 kB / 1.001 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.7331, allocations: 4 kB / 1.001 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00173/0.7349, allocations: 1.231 MB / 1.003 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7349, allocations: 0 / 1.003 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001285/0.7362, allocations: 383.7 kB / 1.003 GB, free: 12.71 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].T[2],con2.T[1],con2.T[2]) * 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 (19): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (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.0001382/0.7363, allocations: 103.2 kB / 1.003 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.738, allocations: 1.122 MB / 1.004 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.738, allocations: 0 / 1.004 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.7387, allocations: 0.5667 MB / 1.005 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.7403, allocations: 319.4 kB / 1.005 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.7443, allocations: 3.016 MB / 1.008 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/0.7452, allocations: 1.3 MB / 1.009 GB, free: 6.133 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.7455, allocations: 67.44 kB / 1.009 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of SimCode: time 3.71e-07/0.7455, allocations: 3.938 kB / 1.009 GB, free: 6.062 MB / 0.7637 GB Notification: Performance of Templates: time 0.04154/0.787, allocations: 33.59 MB / 1.042 GB, free: 4.555 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches