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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.005234/0.005234, allocations: 101.7 kB / 15.88 MB, free: 5.863 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.001202/0.001202, allocations: 190.8 kB / 16.79 MB, free: 5.805 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 63.22 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2919, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.005266/0.2972, allocations: 2.884 MB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004407/0.3017, allocations: 2.236 MB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.3023, allocations: 11.88 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.3041, allocations: 390.3 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009637/0.3051, allocations: 250.9 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3063, allocations: 287.5 kB / 1.059 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00239/0.3087, allocations: 1.845 MB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.309, allocations: 137.9 kB / 1.061 GB, free: 232 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.31, allocations: 0.5413 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.3111, allocations: 0.5645 MB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.3113, allocations: 40 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.3115, allocations: 40 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.3119, allocations: 331 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005046/0.3124, allocations: 493.3 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.3132, allocations: 1.095 MB / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3133, allocations: 8 kB / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3133, allocations: 0 / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.3133, allocations: 0 / 1.064 GB, free: 13.12 MB / 0.8262 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.002576/0.3159, allocations: 1.5 MB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3159, allocations: 15.97 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3161, allocations: 107.6 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.3175, allocations: 0.9689 MB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.3176, allocations: 33.03 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3177, allocations: 64.2 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.3184, allocations: 0.5432 MB / 1.067 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3185, allocations: 3.938 kB / 1.067 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.3185, allocations: 12 kB / 1.067 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3185, allocations: 15.98 kB / 1.067 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.319, allocations: 349.8 kB / 1.067 GB, free: 9.371 MB / 0.8262 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.005927/0.325, allocations: 3.851 MB / 1.071 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3267, allocations: 0.6621 MB / 1.071 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.327, allocations: 196.7 kB / 1.072 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.327, allocations: 0 / 1.072 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.327, allocations: 38.56 kB / 1.072 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 3.216e-06/0.327, allocations: 0 / 1.072 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.001299/0.3284, allocations: 0.7619 MB / 1.072 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.3285, allocations: 55.41 kB / 1.073 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.3303, allocations: 1.429 MB / 1.074 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.3303, allocations: 45.62 kB / 1.074 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.3307, allocations: 420.7 kB / 1.074 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3308, allocations: 106.5 kB / 1.074 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.331, allocations: 146.2 kB / 1.075 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3312, allocations: 338 kB / 1.075 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.3317, allocations: 285.1 kB / 1.075 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.3324, allocations: 0.5941 MB / 1.076 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3334, allocations: 0.8747 MB / 1.077 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.3334, allocations: 4 kB / 1.077 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002023/0.3355, allocations: 1.255 MB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3355, allocations: 8.312 kB / 1.078 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3355, allocations: 16 kB / 1.078 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.3368, allocations: 449.1 kB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.3371, allocations: 107.8 kB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.3427, allocations: 4.396 MB / 1.083 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.3438, allocations: 226.9 kB / 1.083 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.3439, allocations: 36 kB / 1.083 GB, free: 8.324 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.0005059/0.3444, allocations: 433.3 kB / 1.083 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.3446, allocations: 98.72 kB / 1.083 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.3448, allocations: 108.8 kB / 1.084 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3448, allocations: 0 / 1.084 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3448, allocations: 4 kB / 1.084 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3448, allocations: 0 / 1.084 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3459, allocations: 0.92 MB / 1.084 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.346, allocations: 0 / 1.084 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.3464, allocations: 95.84 kB / 1.085 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.3466, allocations: 44.77 kB / 1.085 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.3466, allocations: 23.92 kB / 1.085 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.3478, allocations: 1.42 MB / 1.086 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3478, allocations: 0 / 1.086 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3489, allocations: 0.8134 MB / 1.087 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.3494, allocations: 303.7 kB / 1.087 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.3496, allocations: 12.09 kB / 1.087 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/0.3503, allocations: 103.8 kB / 1.087 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.3504, allocations: 19.97 kB / 1.087 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3504, allocations: 8 kB / 1.087 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001441/0.3518, allocations: 1.017 MB / 1.088 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3518, allocations: 0 / 1.088 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001203/0.3531, allocations: 467.7 kB / 1.089 GB, free: 2.219 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.0001606/0.3532, allocations: 110.2 kB / 1.089 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.355, allocations: 0.9276 MB / 1.09 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.355, allocations: 0 / 1.09 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.3554, allocations: 323 kB / 1.09 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.3568, allocations: 260.2 kB / 1.09 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.3605, allocations: 2.588 MB / 1.093 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.3613, allocations: 1.145 MB / 1.094 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.3615, allocations: 51.44 kB / 1.094 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.3615, allocations: 0 / 1.094 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of Templates: time 0.02499/0.3865, allocations: 17.86 MB / 1.111 GB, free: 10.95 MB / 0.8731 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