Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.885/1.885, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.875 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.669e-05, allocations: 5.266 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00392/0.003936, allocations: 4.33 MB / 0.7642 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.007295, allocations: 2.996 MB / 0.7671 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.00755, allocations: 29.94 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.008214, allocations: 361.5 kB / 0.7675 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009013/0.009116, allocations: 0.7241 MB / 0.7682 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.00994, allocations: 0.6836 MB / 0.7689 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.01127, allocations: 1.942 MB / 0.7708 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.01144, allocations: 123.1 kB / 0.7709 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.01216, allocations: 0.8224 MB / 0.7717 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.01272, allocations: 0.6093 MB / 0.7723 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.605e-05/0.01281, allocations: 76 kB / 0.7723 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.01326, allocations: 412.5 kB / 0.7727 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.01357, allocations: 0.5065 MB / 0.7732 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.01387, allocations: 419.5 kB / 0.7736 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.0147, allocations: 1.141 MB / 0.7747 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01471, allocations: 0.8438 kB / 0.7747 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01471, allocations: 0 / 0.7747 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.01471, allocations: 0.875 kB / 0.7747 GB, free: 7.531 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001513/0.01623, allocations: 1.507 MB / 0.7762 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.01626, allocations: 10.47 kB / 0.7762 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.01651, allocations: 128.8 kB / 0.7764 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.01716, allocations: 0.622 MB / 0.777 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.01719, allocations: 46.22 kB / 0.777 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.01725, allocations: 60.38 kB / 0.7771 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.01765, allocations: 339 kB / 0.7774 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01766, allocations: 4.188 kB / 0.7774 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.01768, allocations: 20.12 kB / 0.7774 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.0177, allocations: 11.98 kB / 0.7774 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.01784, allocations: 109.7 kB / 0.7775 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.01944, allocations: 1.55 MB / 0.779 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.01992, allocations: 410.7 kB / 0.7794 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.02001, allocations: 77.58 kB / 0.7795 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.02006, allocations: 29.61 kB / 0.7795 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.02008, allocations: 34.94 kB / 0.7796 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.503e-06/0.02008, allocations: 0 / 0.7796 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0004767/0.02056, allocations: 327.4 kB / 0.7799 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.02058, allocations: 55.41 kB / 0.7799 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.02119, allocations: 0.9396 MB / 0.7808 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.02122, allocations: 42.77 kB / 0.7809 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.02137, allocations: 323.2 kB / 0.7812 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.02147, allocations: 186.3 kB / 0.7814 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.02162, allocations: 203.5 kB / 0.7816 GB, free: 372 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.02172, allocations: 357.8 kB / 0.7819 GB, free: 8 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.02191, allocations: 166 kB / 0.7821 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.0222, allocations: 494.4 kB / 0.7825 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.02271, allocations: 0.7448 MB / 0.7833 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.02271, allocations: 4.5 kB / 0.7833 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0006705/0.02338, allocations: 0.7385 MB / 0.784 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.0234, allocations: 11.98 kB / 0.784 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.751e-05/0.02349, allocations: 12.91 kB / 0.784 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.02364, allocations: 44.66 kB / 0.7841 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.02416, allocations: 237.5 kB / 0.7843 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.02613, allocations: 6.07 MB / 0.7902 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.02652, allocations: 123.9 kB / 0.7903 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.02655, allocations: 28 kB / 0.7904 GB, free: 6.781 MB / 0.7448 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0001538/0.0267, allocations: 177.9 kB / 0.7905 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.0268, allocations: 79.78 kB / 0.7906 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.02713, allocations: 315.4 kB / 0.7909 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.02713, allocations: 8 kB / 0.7909 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02714, allocations: 0 / 0.7909 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.02714, allocations: 4.75 kB / 0.7909 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.02762, allocations: 414.8 kB / 0.7913 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02762, allocations: 0.8125 kB / 0.7913 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.02787, allocations: 96.53 kB / 0.7914 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.585e-05/0.02796, allocations: 33.84 kB / 0.7914 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.02798, allocations: 15.98 kB / 0.7915 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004903/0.02847, allocations: 1.21 MB / 0.7926 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02847, allocations: 3.938 kB / 0.7926 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.0289, allocations: 498.8 kB / 0.7931 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.0291, allocations: 147 kB / 0.7933 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.02917, allocations: 20.98 kB / 0.7933 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.0294, allocations: 11.98 kB / 0.7933 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.02945, allocations: 33.5 kB / 0.7933 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.02946, allocations: 11.98 kB / 0.7933 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003465/0.02981, allocations: 462.2 kB / 0.7938 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02981, allocations: 0 / 0.7938 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005984/0.0304, allocations: 367.6 kB / 0.7941 GB, free: 2.773 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.0003607/0.03077, allocations: 275 kB / 0.7944 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008083/0.03157, allocations: 0.6805 MB / 0.795 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.03158, allocations: 12 kB / 0.7951 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.03177, allocations: 237.2 kB / 0.7953 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.03232, allocations: 226.4 kB / 0.7955 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.03413, allocations: 1.768 MB / 0.7972 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.03427, allocations: 235.2 kB / 0.7975 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.03447, allocations: 111.1 kB / 0.7976 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.03484, allocations: 257.2 kB / 0.7978 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of SimCode: time 9.52e-07/0.03484, allocations: 0 / 0.7978 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of Templates: time 0.01832/0.05316, allocations: 16.76 MB / 0.8142 GB, free: 14.53 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.308735467027873]