Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00792/0.00792, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001662/0.001662, allocations: 189.1 kB / 16.67 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437 MB / 0.7105 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3076, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005038/0.3127, allocations: 3.73 MB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.3172, allocations: 2.51 MB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.318, allocations: 11.94 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3191, allocations: 254.6 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.3205, allocations: 0.4899 MB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3221, allocations: 0.5417 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.324, allocations: 1.39 MB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.3244, allocations: 141.1 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/0.3252, allocations: 446.4 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.3261, allocations: 466.2 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3263, allocations: 56 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.3265, allocations: 60 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.327, allocations: 371 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.3276, allocations: 461.6 kB / 1.177 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3287, allocations: 0.9419 MB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3287, allocations: 0 / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3287, allocations: 0 / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.3288, allocations: 0 / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00262/0.3314, allocations: 1.272 MB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3315, allocations: 15.97 kB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.943e-05/0.3316, allocations: 70.72 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.3318, allocations: 99.81 kB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.333, allocations: 0.6715 MB / 1.18 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.333, allocations: 44.91 kB / 1.18 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.3331, allocations: 60.12 kB / 1.18 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.3338, allocations: 411 kB / 1.18 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3338, allocations: 7.984 kB / 1.18 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.3338, allocations: 8 kB / 1.18 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3338, allocations: 12 kB / 1.18 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.3342, allocations: 230.4 kB / 1.18 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.3374, allocations: 2.494 MB / 1.183 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.3389, allocations: 0.5459 MB / 1.183 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.3392, allocations: 164.8 kB / 1.184 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3392, allocations: 4 kB / 1.184 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3393, allocations: 38.56 kB / 1.184 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.3393, allocations: 0 / 1.184 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.001698/0.341, allocations: 0.8901 MB / 1.185 GB, free: 4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.341, allocations: 55.41 kB / 1.185 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3423, allocations: 0.9193 MB / 1.185 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.3423, allocations: 41.7 kB / 1.186 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.3426, allocations: 368.7 kB / 1.186 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.3427, allocations: 110.4 kB / 1.186 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.343, allocations: 170.5 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3432, allocations: 398.8 kB / 1.187 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.3436, allocations: 241.8 kB / 1.187 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.3442, allocations: 0.6387 MB / 1.187 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3453, allocations: 0.8875 MB / 1.188 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.3453, allocations: 4 kB / 1.188 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001632/0.3469, allocations: 1.014 MB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.347, allocations: 12 kB / 1.189 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.347, allocations: 19.94 kB / 1.189 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.3475, allocations: 134.7 kB / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.3481, allocations: 187.7 kB / 1.19 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.3515, allocations: 4.476 MB / 1.194 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.3524, allocations: 111 kB / 1.194 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.3524, allocations: 47.94 kB / 1.194 GB, free: 9.316 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * 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,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003311/0.3528, allocations: 273.4 kB / 1.194 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3529, allocations: 82.88 kB / 1.194 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.3531, allocations: 80.53 kB / 1.195 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3531, allocations: 0 / 1.195 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.3531, allocations: 11.92 kB / 1.195 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3531, allocations: 0 / 1.195 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.3539, allocations: 0.657 MB / 1.195 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3539, allocations: 0 / 1.195 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.3542, allocations: 59.89 kB / 1.195 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.3545, allocations: 102.5 kB / 1.195 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.3546, allocations: 11.98 kB / 1.195 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.3578, allocations: 4.458 MB / 1.2 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3578, allocations: 0 / 1.2 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3589, allocations: 0.735 MB / 1.2 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.3592, allocations: 215.8 kB / 1.201 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3593, allocations: 8 kB / 1.201 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.3597, allocations: 23.97 kB / 1.201 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.3598, allocations: 31.95 kB / 1.201 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3598, allocations: 12 kB / 1.201 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008166/0.3607, allocations: 0.62 MB / 1.201 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.673e-06/0.3607, allocations: 0 / 1.201 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008868/0.3616, allocations: 267.8 kB / 1.202 GB, free: 1.16 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.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 (23): * Single equations (assignments): 20 * 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,3,100.0%), (1,3,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.00135/0.3629, allocations: 1.293 MB / 1.203 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.3644, allocations: 0.9155 MB / 1.204 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3644, allocations: 0 / 1.204 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/0.365, allocations: 0.5289 MB / 1.204 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.3658, allocations: 173.7 kB / 1.204 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.376, allocations: 7.804 MB / 1.212 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.3767, allocations: 0.9878 MB / 1.213 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005426/0.3773, allocations: 153.8 kB / 1.213 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.3777, allocations: 279.3 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.3777, allocations: 0 / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/0.4266, allocations: 17.27 MB / 1.23 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.62, allocations: 21.22 kB / 1.23 GB, free: 3.316 MB / 0.9825 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches