Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001134, allocations: 104.8 kB / 16.27 MB, free: 6.414 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.001126/0.001127, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.535/2.535, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 70.83 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004039/0.2595, allocations: 2.841 MB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.2626, allocations: 2.212 MB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.263, allocations: 11.94 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.2641, allocations: 417.9 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.2648, allocations: 274.7 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.2656, allocations: 346 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.2674, allocations: 1.677 MB / 1.072 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.2676, allocations: 146.3 kB / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007922/0.2684, allocations: 0.5883 MB / 1.072 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008317/0.2693, allocations: 0.5841 MB / 1.073 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.2694, allocations: 72 kB / 1.073 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.2697, allocations: 84 kB / 1.073 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.27, allocations: 374.9 kB / 1.074 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006302/0.2707, allocations: 0.5365 MB / 1.074 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2718, allocations: 1.324 MB / 1.075 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2718, allocations: 0 / 1.075 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2718, allocations: 0 / 1.075 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.95e-05/0.2718, allocations: 4 kB / 1.075 GB, free: 3.527 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002866/0.2747, allocations: 1.494 MB / 1.077 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2748, allocations: 8.625 kB / 1.077 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.275, allocations: 119.6 kB / 1.077 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.2765, allocations: 0.965 MB / 1.078 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.2766, allocations: 37.03 kB / 1.078 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.2767, allocations: 52.28 kB / 1.078 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.2774, allocations: 0.5549 MB / 1.079 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2774, allocations: 0 / 1.079 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.2775, allocations: 12 kB / 1.079 GB, free: 136 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2775, allocations: 8 kB / 1.079 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4351/0.7126, allocations: 343.2 kB / 1.079 GB, free: 22.39 MB / 0.8419 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.006253/0.7189, allocations: 3.861 MB / 1.083 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.7205, allocations: 0.6519 MB / 1.083 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.7208, allocations: 198.8 kB / 1.083 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.7209, allocations: 5.906 kB / 1.083 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.7209, allocations: 36.41 kB / 1.084 GB, free: 20.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 2.374e-06/0.7209, allocations: 0 / 1.084 GB, free: 20.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.001246/0.7221, allocations: 0.7597 MB / 1.084 GB, free: 19.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.7222, allocations: 59.36 kB / 1.084 GB, free: 19.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.724, allocations: 1.437 MB / 1.086 GB, free: 19.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.7241, allocations: 36.73 kB / 1.086 GB, free: 19.1 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.7244, allocations: 417.8 kB / 1.086 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.7246, allocations: 104.2 kB / 1.086 GB, free: 18.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.7247, allocations: 151 kB / 1.086 GB, free: 18.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.7248, allocations: 340.7 kB / 1.087 GB, free: 18.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.7252, allocations: 287.3 kB / 1.087 GB, free: 18.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.7258, allocations: 0.5827 MB / 1.088 GB, free: 17.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.7266, allocations: 0.8858 MB / 1.088 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.7267, allocations: 2.562 kB / 1.088 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001967/0.7286, allocations: 1.254 MB / 1.09 GB, free: 16.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7287, allocations: 8.875 kB / 1.09 GB, free: 16.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.7287, allocations: 11.72 kB / 1.09 GB, free: 16.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.73, allocations: 461.7 kB / 1.09 GB, free: 16.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.7303, allocations: 112.6 kB / 1.09 GB, free: 16.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005805/0.7361, allocations: 4.686 MB / 1.095 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.7374, allocations: 228.4 kB / 1.095 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.7375, allocations: 30.97 kB / 1.095 GB, free: 14.06 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004953/0.738, allocations: 432.4 kB / 1.095 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.7381, allocations: 92.31 kB / 1.096 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.7383, allocations: 104.9 kB / 1.096 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7383, allocations: 3.125 kB / 1.096 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.7383, allocations: 1.031 kB / 1.096 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7383, allocations: 1.922 kB / 1.096 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.7393, allocations: 0.9351 MB / 1.097 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7394, allocations: 0 / 1.097 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.7398, allocations: 93.94 kB / 1.097 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.7399, allocations: 39.06 kB / 1.097 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.74, allocations: 19.28 kB / 1.097 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.7408, allocations: 1.53 MB / 1.098 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7408, allocations: 4.719 kB / 1.098 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.7418, allocations: 0.8169 MB / 1.099 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.7422, allocations: 297.6 kB / 1.099 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.7423, allocations: 22.58 kB / 1.099 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.743, allocations: 99.78 kB / 1.099 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.7431, allocations: 23.12 kB / 1.099 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.7431, allocations: 4.062 kB / 1.099 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001299/0.7444, allocations: 1.009 MB / 1.1 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7444, allocations: 1.219 kB / 1.1 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001146/0.7456, allocations: 456.4 kB / 1.101 GB, free: 10.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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.0001228/0.7457, allocations: 113.7 kB / 1.101 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.7475, allocations: 0.9894 MB / 1.102 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7476, allocations: 0 / 1.102 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.748, allocations: 325.7 kB / 1.102 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.7492, allocations: 283.9 kB / 1.103 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.7524, allocations: 2.349 MB / 1.105 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.7531, allocations: 1.141 MB / 1.106 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.7533, allocations: 56.56 kB / 1.106 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.7533, allocations: 0 / 1.106 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.02637/0.7797, allocations: 17.86 MB / 1.123 GB, free: 3.152 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches