Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.069/2.069, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009725, allocations: 184.1 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00096/0.0009599, allocations: 95.89 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.425e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8133/1.042, allocations: 159 MB / 1.368 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/1.042, allocations: 76.92 kB / 1.368 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09397/1.136, allocations: 28.49 MB / 1.396 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/1.136, allocations: 0 / 1.396 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001949/1.136, allocations: 38.86 kB / 1.396 GB, free: 25.21 MB / 0.8386 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.003535/1.14, allocations: 1.179 MB / 1.397 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.14, allocations: 7.719 kB / 1.397 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007454/1.141, allocations: 139.7 kB / 1.397 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/1.144, allocations: 1.544 MB / 1.398 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.144, allocations: 11.25 kB / 1.398 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/1.145, allocations: 38.89 kB / 1.398 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007834/1.145, allocations: 0.5849 MB / 1.399 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007673/1.146, allocations: 0.5973 MB / 1.4 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.146, allocations: 0 / 1.4 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/1.146, allocations: 0 / 1.4 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/1.146, allocations: 15.64 kB / 1.4 GB, free: 23.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/1.15, allocations: 2.662 MB / 1.402 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.151, allocations: 0.8943 MB / 1.403 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/1.152, allocations: 367.6 kB / 1.403 GB, free: 20.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/1.152, allocations: 30.84 kB / 1.404 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/1.152, allocations: 42.12 kB / 1.404 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.513e-06/1.152, allocations: 0 / 1.404 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001297/1.153, allocations: 0.8504 MB / 1.404 GB, free: 20 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/1.153, allocations: 55.41 kB / 1.404 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.154, allocations: 0.9754 MB / 1.405 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/1.154, allocations: 29.7 kB / 1.405 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/1.155, allocations: 451.6 kB / 1.406 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/1.155, allocations: 176.9 kB / 1.406 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/1.155, allocations: 0 / 1.406 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.155, allocations: 350.7 kB / 1.406 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/1.156, allocations: 0.5161 MB / 1.407 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/1.156, allocations: 0.8348 MB / 1.408 GB, free: 17.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.157, allocations: 0.7206 MB / 1.408 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.157, allocations: 4 kB / 1.408 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002291/1.16, allocations: 1.577 MB / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.16, allocations: 8 kB / 1.41 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/1.16, allocations: 15.98 kB / 1.41 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/1.16, allocations: 44.72 kB / 1.41 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.161, allocations: 355.3 kB / 1.41 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/1.166, allocations: 6.902 MB / 1.417 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.167, allocations: 134.6 kB / 1.417 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/1.167, allocations: 63.8 kB / 1.417 GB, free: 8.207 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/1.167, allocations: 132.7 kB / 1.417 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001294/1.169, allocations: 0.8404 MB / 1.418 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/1.169, allocations: 110.6 kB / 1.418 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/1.17, allocations: 0.9702 MB / 1.419 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.17, allocations: 4 kB / 1.419 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.17, allocations: 0 / 1.419 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.17, allocations: 4 kB / 1.419 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/1.172, allocations: 0.9013 MB / 1.42 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.172, allocations: 3.938 kB / 1.42 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/1.172, allocations: 115.4 kB / 1.42 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/1.172, allocations: 32.58 kB / 1.42 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/1.172, allocations: 19.67 kB / 1.42 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/1.173, allocations: 1.305 MB / 1.422 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.173, allocations: 3.984 kB / 1.422 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/1.175, allocations: 1.468 MB / 1.423 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/1.175, allocations: 373 kB / 1.423 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/1.176, allocations: 7.625 kB / 1.423 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/1.177, allocations: 39.92 kB / 1.423 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/1.177, allocations: 35.52 kB / 1.423 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/1.177, allocations: 43.66 kB / 1.423 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008791/1.178, allocations: 0.7075 MB / 1.424 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.178, allocations: 0 / 1.424 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001179/1.179, allocations: 358.2 kB / 1.425 GB, free: 1.77 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/1.181, allocations: 2.031 MB / 1.427 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002107/1.183, allocations: 1.453 MB / 1.428 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.183, allocations: 0 / 1.428 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000465/1.184, allocations: 456 kB / 1.428 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/1.185, allocations: 219.5 kB / 1.429 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/1.188, allocations: 2.344 MB / 1.431 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/1.189, allocations: 1.124 MB / 1.432 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000663/1.19, allocations: 207.3 kB / 1.432 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/1.19, allocations: 404.3 kB / 1.433 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/1.19, allocations: 0 / 1.433 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/1.238, allocations: 21.8 MB / 1.454 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.238, allocations: 148.7 kB / 1.454 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.736, allocations: 0 / 1.454 GB, free: 4.93 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat does not exist to compare? outputFormat=mat