Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.00807/0.008071, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001918/0.001918, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 1.054 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3238, allocations: 157.4 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003303/0.3271, allocations: 1.907 MB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3284, allocations: 0.6391 MB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3285, allocations: 4 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3289, allocations: 59.66 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.3292, allocations: 63.53 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.3295, allocations: 67.89 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008438/0.3304, allocations: 0.6941 MB / 1.211 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.3306, allocations: 37.09 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.3312, allocations: 231.6 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.3319, allocations: 271.4 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.332, allocations: 44 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3322, allocations: 51.94 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.3325, allocations: 183.6 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.3329, allocations: 223.2 kB / 1.212 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005147/0.3334, allocations: 0.495 MB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3334, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3334, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3335, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002288/0.3357, allocations: 0.766 MB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.3358, allocations: 12.61 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.257e-05/0.3359, allocations: 42.75 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.336, allocations: 32.66 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.3367, allocations: 316.2 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.3367, allocations: 24.17 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.3368, allocations: 35.91 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.3372, allocations: 175.4 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3372, allocations: 0 / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3372, allocations: 8 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3372, allocations: 4 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.3375, allocations: 140.6 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/0.3419, allocations: 1.308 MB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.3433, allocations: 463.9 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3435, allocations: 116.8 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3435, allocations: 4 kB / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3436, allocations: 34.56 kB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 3.757e-06/0.3436, allocations: 0 / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.0007221/0.3443, allocations: 365.3 kB / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3444, allocations: 51.41 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.3447, allocations: 290.4 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.3447, allocations: 33.7 kB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3449, allocations: 136.9 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/0.345, allocations: 82.84 kB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.3452, allocations: 118.2 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3453, allocations: 338.8 kB / 1.217 GB, free: 192 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.3458, allocations: 273 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.3463, allocations: 320.6 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.3469, allocations: 442.6 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3469, allocations: 4.031 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001152/0.3481, allocations: 0.6861 MB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3481, allocations: 5.719 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3481, allocations: 0 / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3482, allocations: 4 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007629/0.3489, allocations: 127.8 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.349, allocations: 3.938 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.3503, allocations: 95.28 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.3504, allocations: 19.98 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.3505, allocations: 157.8 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.3506, allocations: 23.66 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.3507, allocations: 30.17 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3507, allocations: 0 / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3507, allocations: 4 kB / 1.219 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3507, allocations: 4 kB / 1.219 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.3512, allocations: 429 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3512, allocations: 0 / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3514, allocations: 47.84 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3515, allocations: 3.984 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.3515, allocations: 8 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3515, allocations: 0 / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3515, allocations: 0 / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.3522, allocations: 496 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.3523, allocations: 100.8 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.3523, allocations: 11.98 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.3529, allocations: 23.97 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.353, allocations: 11.98 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.353, allocations: 11.94 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001673/0.3532, allocations: 189.9 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3532, allocations: 4 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005472/0.3537, allocations: 203.9 kB / 1.22 GB, free: 12.4 MB / 0.9825 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],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009047/0.3547, allocations: 1.026 MB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.3555, allocations: 460 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3555, allocations: 0 / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3557, allocations: 119.9 kB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.3561, allocations: 58.77 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.3617, allocations: 4.327 MB / 1.226 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.362, allocations: 0.7753 MB / 1.227 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.3623, allocations: 90.2 kB / 1.227 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.3625, allocations: 83.39 kB / 1.227 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3625, allocations: 0 / 1.227 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.3924, allocations: 9.069 MB / 1.236 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.549, allocations: 9.938 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches