Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004838/0.004838, allocations: 97.3 kB / 15.73 MB, free: 6.047 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.001138/0.001138, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3521, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004317/0.3564, allocations: 2.759 MB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004334/0.3607, allocations: 2.78 MB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.361, allocations: 7.938 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.3625, allocations: 0.4903 MB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.363, allocations: 258.8 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009992/0.364, allocations: 402.9 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.3657, allocations: 1.536 MB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.3659, allocations: 102.2 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.3666, allocations: 486.7 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005441/0.3672, allocations: 382.6 kB / 1.23 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-05/0.3673, allocations: 48 kB / 1.23 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3674, allocations: 48 kB / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.3677, allocations: 279.2 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.368, allocations: 374.2 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.3689, allocations: 0.9147 MB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3689, allocations: 3.938 kB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3689, allocations: 0 / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.369, allocations: 0 / 1.231 GB, free: 3 MB / 0.9825 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.002008/0.371, allocations: 1.159 MB / 1.232 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.371, allocations: 12.03 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3711, allocations: 80.42 kB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/0.3721, allocations: 0.6881 MB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3721, allocations: 28.94 kB / 1.233 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.3722, allocations: 36.38 kB / 1.233 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.3727, allocations: 378.8 kB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3727, allocations: 4 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.3728, allocations: 8 kB / 1.233 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3728, allocations: 8 kB / 1.233 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.3732, allocations: 233.5 kB / 1.234 GB, free: 280 kB / 0.9825 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.003453/0.3766, allocations: 2.455 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.3776, allocations: 382.5 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.3778, allocations: 136.7 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3778, allocations: 4 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3778, allocations: 30.56 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.3778, allocations: 0 / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.000966/0.3788, allocations: 0.536 MB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3788, allocations: 55.41 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.38, allocations: 0.9376 MB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.38, allocations: 37.7 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.3802, allocations: 304.8 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.3803, allocations: 71.41 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3804, allocations: 122.2 kB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3806, allocations: 386.7 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.381, allocations: 244.9 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.3815, allocations: 0.4975 MB / 1.24 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007813/0.3822, allocations: 0.697 MB / 1.24 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3822, allocations: 0 / 1.24 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001129/0.3834, allocations: 0.8236 MB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3834, allocations: 8 kB / 1.241 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3834, allocations: 11.94 kB / 1.241 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.3836, allocations: 53.28 kB / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.3841, allocations: 147.8 kB / 1.241 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.3854, allocations: 1.542 MB / 1.243 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.386, allocations: 123.4 kB / 1.243 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.3861, allocations: 27.98 kB / 1.243 GB, free: 5.992 MB / 0.9981 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.0003562/0.3864, allocations: 341.8 kB / 1.243 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3865, allocations: 79.45 kB / 1.243 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.3866, allocations: 70.09 kB / 1.244 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3866, allocations: 4 kB / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3866, allocations: 0 / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3866, allocations: 0 / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.3873, allocations: 0.5714 MB / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3873, allocations: 0 / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3875, allocations: 51.91 kB / 1.244 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.3876, allocations: 40.81 kB / 1.244 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3877, allocations: 12 kB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.3888, allocations: 1.527 MB / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3888, allocations: 0 / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.3896, allocations: 0.5718 MB / 1.246 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.3898, allocations: 204.6 kB / 1.246 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.3899, allocations: 11.98 kB / 1.246 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.3903, allocations: 51.92 kB / 1.246 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.3903, allocations: 11.98 kB / 1.246 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3903, allocations: 8.125 kB / 1.246 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008121/0.3911, allocations: 0.659 MB / 1.247 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3911, allocations: 0 / 1.247 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006122/0.3918, allocations: 183.9 kB / 1.247 GB, free: 1.371 MB / 0.9981 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.0001522/0.3919, allocations: 115.2 kB / 1.247 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009257/0.3928, allocations: 0.5546 MB / 1.248 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3928, allocations: 0 / 1.248 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.3932, allocations: 246.5 kB / 1.248 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.394, allocations: 169.2 kB / 1.248 GB, free: 276 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6157/1.01, allocations: 1.53 MB / 1.25 GB, free: 29.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/1.01, allocations: 1.01 MB / 1.251 GB, free: 28.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000563/1.011, allocations: 180.2 kB / 1.251 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.011, allocations: 37.47 kB / 1.251 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.011, allocations: 0 / 1.251 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of Templates: time 0.01774/1.029, allocations: 8.596 MB / 1.259 GB, free: 28.61 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches