Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.01124/0.01124, allocations: 101.1 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.002124/0.002124, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.12 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2755, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005006/0.2805, allocations: 3.075 MB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.2839, allocations: 1.905 MB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2841, allocations: 7.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.2851, allocations: 278.9 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.2856, allocations: 199.1 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006975/0.2863, allocations: 244.4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.2868, allocations: 322.7 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.2872, allocations: 188.8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.2875, allocations: 131.5 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.2878, allocations: 151.5 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.2879, allocations: 20 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.2886, allocations: 399.2 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2887, allocations: 87.78 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2888, allocations: 123.3 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.2896, allocations: 483.6 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2897, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2897, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.2897, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0011/0.2908, allocations: 0.5691 MB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2909, allocations: 12.03 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.339e-05/0.291, allocations: 58.73 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008949/0.2919, allocations: 104.5 kB / 1.096 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.2923, allocations: 259.9 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.2923, allocations: 16.81 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.2924, allocations: 24.36 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.2929, allocations: 349.3 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.293, allocations: 4 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.293, allocations: 15.91 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.293, allocations: 28.42 kB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.2935, allocations: 297.5 kB / 1.097 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.2956, allocations: 1.729 MB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.2961, allocations: 322.1 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2963, allocations: 117.6 kB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.2964, allocations: 89.09 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2964, allocations: 38.56 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/0.2964, allocations: 0 / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.002406/0.2989, allocations: 0.9611 MB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2989, allocations: 85.05 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.2991, allocations: 211.7 kB / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2992, allocations: 29.7 kB / 1.1 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.2993, allocations: 176 kB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.2993, allocations: 90.92 kB / 1.1 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.2994, allocations: 57.7 kB / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.2995, allocations: 330.8 kB / 1.101 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.2997, allocations: 127.9 kB / 1.101 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3, allocations: 213.3 kB / 1.101 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.3004, allocations: 361.8 kB / 1.101 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3004, allocations: 4 kB / 1.101 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008488/0.3013, allocations: 0.5163 MB / 1.102 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3013, allocations: 4 kB / 1.102 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3013, allocations: 4 kB / 1.102 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.3018, allocations: 155.4 kB / 1.102 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.3021, allocations: 55.91 kB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.3049, allocations: 4.194 MB / 1.106 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3052, allocations: 19.97 kB / 1.106 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.3052, allocations: 8 kB / 1.106 GB, free: 13.98 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.3054, allocations: 173.6 kB / 1.106 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.3055, allocations: 19.72 kB / 1.106 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/0.3063, allocations: 470.6 kB / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3063, allocations: 4 kB / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3063, allocations: 0 / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3063, allocations: 3.984 kB / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.3078, allocations: 1.008 MB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3079, allocations: 7.938 kB / 1.108 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.308, allocations: 31.98 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.3084, allocations: 139.5 kB / 1.108 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.3084, allocations: 8 kB / 1.108 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.311, allocations: 4.155 MB / 1.112 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.311, allocations: 7.969 kB / 1.112 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.3118, allocations: 0.6178 MB / 1.113 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.312, allocations: 132.7 kB / 1.113 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.312, allocations: 8 kB / 1.113 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.3123, allocations: 23.97 kB / 1.113 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3123, allocations: 19.98 kB / 1.113 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3124, allocations: 8 kB / 1.113 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001478/0.3125, allocations: 165.5 kB / 1.113 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3125, allocations: 0 / 1.113 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000541/0.3131, allocations: 84 kB / 1.113 GB, free: 6.383 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.3143, allocations: 1.201 MB / 1.114 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000984/0.3153, allocations: 0.5888 MB / 1.115 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3153, allocations: 3.938 kB / 1.115 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.3158, allocations: 394.2 kB / 1.115 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3163, allocations: 39.98 kB / 1.115 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.3204, allocations: 3.33 MB / 1.118 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.3208, allocations: 0.7753 MB / 1.119 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.321, allocations: 62.25 kB / 1.119 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3211, allocations: 71.41 kB / 1.119 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of SimCode: time 4.21e-07/0.3211, allocations: 0 / 1.119 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.3506, allocations: 6.71 MB / 1.126 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.99, allocations: 6.625 kB / 1.126 GB, free: 9.023 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches