Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.004482/0.004482, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001067/0.001067, allocations: 195.8 kB / 16.67 MB, free: 6.355 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.299/2.299, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.58 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2623, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005626/0.2679, allocations: 4.272 MB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.2717, allocations: 2.377 MB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.272, allocations: 15.88 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2732, allocations: 378.2 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007804/0.274, allocations: 386.2 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.2747, allocations: 318.3 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.2754, allocations: 0.6906 MB / 1.096 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.2758, allocations: 266.2 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.2761, allocations: 259 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.2765, allocations: 262.9 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.2766, allocations: 32 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.2774, allocations: 439 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.2776, allocations: 139.6 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.2778, allocations: 238.6 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.2786, allocations: 0.7316 MB / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2787, allocations: 0 / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2787, allocations: 0 / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2787, allocations: 0 / 1.098 GB, free: 7.238 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001232/0.2799, allocations: 0.8135 MB / 1.099 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.28, allocations: 12.03 kB / 1.099 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.345e-05/0.2801, allocations: 70.72 kB / 1.099 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.2815, allocations: 188.3 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.2821, allocations: 444.8 kB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2822, allocations: 25.36 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.2822, allocations: 40.31 kB / 1.1 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.2831, allocations: 0.6469 MB / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2831, allocations: 7.938 kB / 1.1 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.2832, allocations: 15.98 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.77e-05/0.2833, allocations: 51.97 kB / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.284, allocations: 0.4915 MB / 1.101 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.287, allocations: 3.791 MB / 1.104 GB, free: 216 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.2887, allocations: 0.636 MB / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.289, allocations: 174.5 kB / 1.105 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.289, allocations: 11.97 kB / 1.105 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2891, allocations: 38.5 kB / 1.105 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.2891, allocations: 0 / 1.105 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002155/0.2912, allocations: 1.289 MB / 1.106 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.2913, allocations: 106.8 kB / 1.107 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.2917, allocations: 409.7 kB / 1.107 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2917, allocations: 29.7 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2919, allocations: 288.2 kB / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.292, allocations: 126.9 kB / 1.107 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.2921, allocations: 98.2 kB / 1.108 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2922, allocations: 346.8 kB / 1.108 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.2925, allocations: 177 kB / 1.108 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.2928, allocations: 385.4 kB / 1.108 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.2935, allocations: 0.5873 MB / 1.109 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2935, allocations: 4 kB / 1.109 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001012/0.2945, allocations: 0.6754 MB / 1.11 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2946, allocations: 8 kB / 1.11 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2946, allocations: 8 kB / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.2949, allocations: 98.44 kB / 1.11 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.2953, allocations: 111.8 kB / 1.11 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.2984, allocations: 4.352 MB / 1.114 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.2987, allocations: 31.97 kB / 1.114 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2988, allocations: 24 kB / 1.114 GB, free: 5.434 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.299, allocations: 193.6 kB / 1.114 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.2991, allocations: 51.7 kB / 1.114 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008402/0.3, allocations: 0.5186 MB / 1.115 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3, allocations: 4 kB / 1.115 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3, allocations: 0 / 1.115 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.3, allocations: 3.984 kB / 1.115 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.3017, allocations: 1.283 MB / 1.116 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3017, allocations: 4 kB / 1.116 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.302, allocations: 60.17 kB / 1.116 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.3022, allocations: 94.5 kB / 1.116 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.3023, allocations: 12 kB / 1.116 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.3053, allocations: 4.34 MB / 1.121 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3053, allocations: 4 kB / 1.121 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.3061, allocations: 0.7748 MB / 1.121 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.3064, allocations: 160.7 kB / 1.121 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.3064, allocations: 8 kB / 1.121 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.3067, allocations: 23.97 kB / 1.121 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3068, allocations: 39.83 kB / 1.122 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.3068, allocations: 19.94 kB / 1.122 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002705/0.3071, allocations: 275.1 kB / 1.122 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3071, allocations: 0 / 1.122 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006771/0.3078, allocations: 128 kB / 1.122 GB, free: 12.84 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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,1,100.0%), (1,1,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.001083/0.3089, allocations: 1.335 MB / 1.123 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.3101, allocations: 0.8016 MB / 1.124 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3101, allocations: 320 / 1.124 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.3108, allocations: 0.5504 MB / 1.125 GB, free: 10 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.3117, allocations: 128 kB / 1.125 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.3168, allocations: 4.566 MB / 1.129 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.3172, allocations: 0.8625 MB / 1.13 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002659/0.3175, allocations: 104.5 kB / 1.13 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.3177, allocations: 155.4 kB / 1.13 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.3177, allocations: 0 / 1.13 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.3541, allocations: 10.02 MB / 1.14 GB, free: 10 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.818/10.17, allocations: 14.58 kB / 1.14 GB, free: 9.988 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_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_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches