Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.004965/0.004965, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001381/0.001381, allocations: 205.1 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.31/1.31, 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 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437.1 MB / 0.7106 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 71.89 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.258, allocations: 151.6 MB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01988/0.2779, allocations: 16.02 MB / 1.182 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007806/0.2858, allocations: 4.82 MB / 1.187 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.2864, allocations: 67.69 kB / 1.187 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.2889, allocations: 1.045 MB / 1.188 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.2903, allocations: 0.7347 MB / 1.188 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.2922, allocations: 0.9274 MB / 1.189 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003906/0.2962, allocations: 3.61 MB / 1.193 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005698/0.3019, allocations: 4.77 MB / 1.197 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.3041, allocations: 1.585 MB / 1.199 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/0.3062, allocations: 1.78 MB / 1.201 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.3067, allocations: 340 kB / 1.201 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.308, allocations: 0.7919 MB / 1.202 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.3094, allocations: 1.326 MB / 1.203 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.311, allocations: 1.459 MB / 1.205 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00495/0.3159, allocations: 5.148 MB / 1.21 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.316, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.316, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.292e-05/0.316, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004562/0.3206, allocations: 2.713 MB / 1.212 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3206, allocations: 12.03 kB / 1.212 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004585/0.3211, allocations: 374.5 kB / 1.213 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00374/0.3248, allocations: 0.846 MB / 1.213 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.3275, allocations: 1.572 MB / 1.215 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.3276, allocations: 181.1 kB / 1.215 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/0.328, allocations: 228.4 kB / 1.215 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006097/0.3341, allocations: 4.165 MB / 1.219 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/0.3342, allocations: 7.938 kB / 1.219 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.3344, allocations: 104 kB / 1.22 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.3346, allocations: 164.5 kB / 1.22 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/0.34, allocations: 3.632 MB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.3574, allocations: 16.45 MB / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.3608, allocations: 2.291 MB / 1.242 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.3616, allocations: 0.5819 MB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.3618, allocations: 97.66 kB / 1.242 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3618, allocations: 43.06 kB / 1.242 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/0.3618, allocations: 0 / 1.242 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.005275/0.3671, allocations: 3.506 MB / 1.246 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3672, allocations: 111.5 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.3684, allocations: 1.022 MB / 1.247 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.3685, allocations: 41.64 kB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007596/0.3693, allocations: 1.138 MB / 1.248 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.3695, allocations: 289.6 kB / 1.248 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.3699, allocations: 275.4 kB / 1.248 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.3701, allocations: 422.7 kB / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5676/0.9377, allocations: 0.6104 MB / 1.249 GB, free: 76.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.9391, allocations: 1.186 MB / 1.251 GB, free: 76.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.9413, allocations: 1.871 MB / 1.252 GB, free: 75.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.9413, allocations: 6.844 kB / 1.252 GB, free: 75.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003437/0.9448, allocations: 2.017 MB / 1.254 GB, free: 74.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.9448, allocations: 13.47 kB / 1.254 GB, free: 74.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.9449, allocations: 19.88 kB / 1.254 GB, free: 74.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.9453, allocations: 164 kB / 1.255 GB, free: 74.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.9465, allocations: 348.9 kB / 1.255 GB, free: 74.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-05/0.9465, allocations: 39.86 kB / 1.255 GB, free: 74.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/0.9475, allocations: 124.1 kB / 1.255 GB, free: 74.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.9476, allocations: 70.53 kB / 1.255 GB, free: 74.63 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001434/0.949, allocations: 0.976 MB / 1.256 GB, free: 74.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.9492, allocations: 117.4 kB / 1.256 GB, free: 74.19 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.9514, allocations: 1.225 MB / 1.257 GB, free: 73.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.9514, allocations: 9.281 kB / 1.257 GB, free: 73.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.9514, allocations: 2.047 kB / 1.257 GB, free: 73.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.9514, allocations: 4.266 kB / 1.257 GB, free: 73.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006087/0.9575, allocations: 3.802 MB / 1.261 GB, free: 71.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.9575, allocations: 3.422 kB / 1.261 GB, free: 71.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.9582, allocations: 155.7 kB / 1.261 GB, free: 71.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.9585, allocations: 145.8 kB / 1.261 GB, free: 71.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.9586, allocations: 23.5 kB / 1.261 GB, free: 71.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.9586, allocations: 5.031 kB / 1.261 GB, free: 71.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9586, allocations: 3.812 kB / 1.261 GB, free: 71.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.9603, allocations: 1.466 MB / 1.263 GB, free: 71.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.9607, allocations: 282.3 kB / 1.263 GB, free: 71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.9609, allocations: 18.38 kB / 1.263 GB, free: 70.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.9614, allocations: 66.98 kB / 1.263 GB, free: 70.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.9615, allocations: 61.59 kB / 1.263 GB, free: 70.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.9616, allocations: 22.03 kB / 1.263 GB, free: 70.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000859/0.9625, allocations: 0.7003 MB / 1.264 GB, free: 70.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9625, allocations: 4 kB / 1.264 GB, free: 70.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001393/0.9639, allocations: 387.5 kB / 1.264 GB, free: 70.64 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/0.9658, allocations: 2.046 MB / 1.266 GB, free: 69.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.968, allocations: 1.712 MB / 1.268 GB, free: 68.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.968, allocations: 5.469 kB / 1.268 GB, free: 68.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007998/0.9688, allocations: 0.8568 MB / 1.269 GB, free: 67.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.9701, allocations: 277.6 kB / 1.269 GB, free: 67.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.9858, allocations: 12.91 MB / 1.282 GB, free: 60.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.9874, allocations: 1.914 MB / 1.284 GB, free: 59.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001094/0.9885, allocations: 449.5 kB / 1.284 GB, free: 59.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/0.9892, allocations: 0.713 MB / 1.285 GB, free: 59.28 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/0.9892, allocations: 0 / 1.285 GB, free: 59.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06332/1.053, allocations: 27.9 MB / 1.312 GB, free: 50.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.15, allocations: 7.625 kB / 1.312 GB, free: 50.88 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches