Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.0009942/0.0009943, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007663/0.007663, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 462.7 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 8.5 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004682/0.2845, allocations: 3.944 MB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.2878, allocations: 2.338 MB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.2881, allocations: 15.88 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.2884, allocations: 67.42 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008433/0.2892, allocations: 350.4 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.2899, allocations: 295.4 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.2908, allocations: 0.8661 MB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.2916, allocations: 454.7 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.292, allocations: 219 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.2923, allocations: 266.8 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.2924, allocations: 20 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.2931, allocations: 0.534 MB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2933, allocations: 127.6 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.2935, allocations: 244.4 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007879/0.2943, allocations: 0.7399 MB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2943, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2943, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.2943, allocations: 4 kB / 1.069 GB, free: 10.4 MB / 0.8262 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.0009666/0.2953, allocations: 0.7054 MB / 1.07 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2954, allocations: 11.97 kB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.701e-05/0.2955, allocations: 82.69 kB / 1.07 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.2968, allocations: 184.1 kB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.2973, allocations: 404.5 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2973, allocations: 25.38 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.2974, allocations: 32.36 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.2982, allocations: 0.6547 MB / 1.071 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2982, allocations: 11.84 kB / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.2982, allocations: 16 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.095e-05/0.2983, allocations: 51.95 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006834/0.299, allocations: 499.3 kB / 1.072 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.3019, allocations: 3.786 MB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3035, allocations: 0.6328 MB / 1.076 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.3037, allocations: 178.5 kB / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3038, allocations: 4 kB / 1.076 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3038, allocations: 46.5 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.3038, allocations: 0 / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002079/0.3059, allocations: 1.284 MB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.306, allocations: 114.8 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.3064, allocations: 397.8 kB / 1.078 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3064, allocations: 29.7 kB / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3066, allocations: 283.5 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.3067, allocations: 110.4 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.3067, allocations: 51.38 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3069, allocations: 354.8 kB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.3071, allocations: 173 kB / 1.079 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.3074, allocations: 379.2 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.3081, allocations: 0.591 MB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3081, allocations: 0 / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009902/0.3091, allocations: 0.6744 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3091, allocations: 6.406 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3091, allocations: 8 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.3095, allocations: 106.4 kB / 1.081 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.3098, allocations: 119.7 kB / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.3127, allocations: 4.025 MB / 1.085 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.3131, allocations: 35.91 kB / 1.085 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.3131, allocations: 27.98 kB / 1.085 GB, free: 9.148 MB / 0.8419 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.0002058/0.3133, allocations: 191.2 kB / 1.085 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3134, allocations: 51.53 kB / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008453/0.3143, allocations: 0.5147 MB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3143, allocations: 4 kB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3143, allocations: 7.938 kB / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3143, allocations: 7.984 kB / 1.085 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.3159, allocations: 1.283 MB / 1.087 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3159, allocations: 8.281 kB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.3162, allocations: 59.89 kB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.3164, allocations: 94.5 kB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3165, allocations: 12 kB / 1.087 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.3192, allocations: 4.032 MB / 1.091 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3192, allocations: 8 kB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.32, allocations: 0.7776 MB / 1.091 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3202, allocations: 152.5 kB / 1.092 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.3202, allocations: 19.92 kB / 1.092 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.3205, allocations: 15.98 kB / 1.092 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3206, allocations: 31.95 kB / 1.092 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3206, allocations: 15.94 kB / 1.092 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002622/0.3209, allocations: 287.1 kB / 1.092 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3209, allocations: 0 / 1.092 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006105/0.3215, allocations: 127.9 kB / 1.092 GB, free: 0.8633 MB / 0.8419 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.001048/0.3226, allocations: 1.324 MB / 1.093 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.3237, allocations: 0.803 MB / 1.094 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3237, allocations: 0 / 1.094 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000653/0.3243, allocations: 0.5475 MB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.3254, allocations: 119 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.3306, allocations: 4.785 MB / 1.1 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.3311, allocations: 0.8625 MB / 1.1 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.3315, allocations: 104.5 kB / 1.1 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.3317, allocations: 155.4 kB / 1.101 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.3317, allocations: 0 / 1.101 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.3541, allocations: 9.401 MB / 1.11 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.3543, allocations: 232.2 kB / 1.11 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.377, allocations: 0 / 1.11 GB, free: 14.25 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches