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.01027/0.01027, allocations: 95.92 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.002034/0.002034, allocations: 193.9 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.379/2.379, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.25 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2577, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00477/0.2626, allocations: 3.073 MB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.2655, allocations: 1.906 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2657, allocations: 8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.2667, allocations: 289.5 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.2672, allocations: 195.1 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.2679, allocations: 243.3 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.2683, allocations: 326.7 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2687, allocations: 184.9 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.269, allocations: 139.5 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.2694, allocations: 147.5 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.2694, allocations: 20 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/0.2702, allocations: 399.2 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2703, allocations: 83.8 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2705, allocations: 127.4 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008938/0.2714, allocations: 482.4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2714, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2714, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.2714, allocations: 0 / 1.095 GB, free: 10.39 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.001179/0.2726, allocations: 0.5801 MB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2727, allocations: 12.03 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.2728, allocations: 58.67 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.2736, allocations: 108.6 kB / 1.096 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.274, allocations: 264 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2741, allocations: 16.8 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.2741, allocations: 20.36 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.2746, allocations: 357.2 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2747, allocations: 0 / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.2747, allocations: 8 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.2747, allocations: 28.42 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.2752, allocations: 293.5 kB / 1.097 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.2776, allocations: 1.737 MB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.2781, allocations: 334.1 kB / 1.099 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.2783, allocations: 101.6 kB / 1.099 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.2784, allocations: 89.09 kB / 1.099 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2784, allocations: 34.56 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.2784, allocations: 4 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.002616/0.2811, allocations: 0.9658 MB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.2811, allocations: 81.05 kB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.2814, allocations: 215.8 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.2814, allocations: 41.66 kB / 1.1 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2815, allocations: 176.4 kB / 1.1 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.2816, allocations: 83.33 kB / 1.1 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.2817, allocations: 61.66 kB / 1.1 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2819, allocations: 334.8 kB / 1.101 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.2821, allocations: 131.9 kB / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.2824, allocations: 205.3 kB / 1.101 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.2829, allocations: 370.2 kB / 1.101 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2829, allocations: 0 / 1.101 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009241/0.2838, allocations: 0.5075 MB / 1.102 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2839, allocations: 8 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2839, allocations: 3.938 kB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.2844, allocations: 151.6 kB / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.2847, allocations: 59.91 kB / 1.102 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.2881, allocations: 4.198 MB / 1.106 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.2883, allocations: 15.98 kB / 1.106 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.2884, allocations: 16 kB / 1.106 GB, free: 13.92 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.0001853/0.2886, allocations: 169.7 kB / 1.106 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.2886, allocations: 27.8 kB / 1.106 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008371/0.2895, allocations: 470.6 kB / 1.107 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2895, allocations: 4 kB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2895, allocations: 8 kB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.2895, allocations: 3.984 kB / 1.107 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.2912, allocations: 1.001 MB / 1.108 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2912, allocations: 7.938 kB / 1.108 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.2914, allocations: 31.97 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.2918, allocations: 143.5 kB / 1.108 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2918, allocations: 8 kB / 1.108 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.2949, allocations: 4.147 MB / 1.112 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.2949, allocations: 16.03 kB / 1.112 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.2957, allocations: 0.6212 MB / 1.113 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.2959, allocations: 128.9 kB / 1.113 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.296, allocations: 11.98 kB / 1.113 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.2962, allocations: 15.98 kB / 1.113 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.2962, allocations: 31.91 kB / 1.113 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2963, allocations: 8 kB / 1.113 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001476/0.2964, allocations: 157.5 kB / 1.113 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2964, allocations: 0 / 1.113 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000517/0.297, allocations: 99.86 kB / 1.113 GB, free: 6.301 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.00119/0.2982, allocations: 1.186 MB / 1.114 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009492/0.2991, allocations: 0.579 MB / 1.115 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2991, allocations: 4 kB / 1.115 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.2997, allocations: 404 kB / 1.115 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.3002, allocations: 42.91 kB / 1.115 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.3043, allocations: 3.34 MB / 1.118 GB, free: 444 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3047, allocations: 0.7831 MB / 1.119 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.3049, allocations: 58.25 kB / 1.119 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.305, allocations: 71.41 kB / 1.119 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of SimCode: time 6.11e-07/0.3051, allocations: 0 / 1.119 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3341, allocations: 6.699 MB / 1.126 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.09, allocations: 6.406 kB / 1.126 GB, free: 8.945 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