Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_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.001493/0.001493, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.623/2.623, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 66.45 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2362, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00597/0.2422, allocations: 4.902 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.2456, allocations: 2.479 MB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2458, allocations: 27.75 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009647/0.2467, allocations: 406 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007057/0.2474, allocations: 445.6 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.2481, allocations: 401.2 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008264/0.249, allocations: 0.9212 MB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.2494, allocations: 346.8 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.2498, allocations: 346.6 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.2502, allocations: 350.5 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.2502, allocations: 36 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.2508, allocations: 399.1 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.251, allocations: 187.4 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.2512, allocations: 322.2 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.2521, allocations: 0.8759 MB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2521, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2521, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2521, allocations: 0 / 1.076 GB, free: 1.781 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00122/0.2533, allocations: 0.9579 MB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.2534, allocations: 8.031 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.605e-05/0.2535, allocations: 90.7 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.2546, allocations: 203.9 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.2552, allocations: 0.4905 MB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2552, allocations: 37.36 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.2553, allocations: 48.36 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.2563, allocations: 0.8445 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.2563, allocations: 11.94 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.2564, allocations: 20 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.527e-05/0.2565, allocations: 64.95 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007772/0.2573, allocations: 0.5656 MB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.2614, allocations: 5.662 MB / 1.085 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.262, allocations: 455.1 kB / 1.085 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.2623, allocations: 224.7 kB / 1.086 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.2623, allocations: 8.516 kB / 1.086 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2623, allocations: 34.56 kB / 1.086 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.283e-06/0.2623, allocations: 0 / 1.086 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002322/0.2647, allocations: 1.515 MB / 1.087 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2647, allocations: 59.69 kB / 1.087 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.2652, allocations: 0.4952 MB / 1.088 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2652, allocations: 29.7 kB / 1.088 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.2655, allocations: 366.8 kB / 1.088 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.2656, allocations: 122.3 kB / 1.088 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2657, allocations: 106.2 kB / 1.088 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2659, allocations: 366.8 kB / 1.089 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.2662, allocations: 197.2 kB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.2666, allocations: 451.3 kB / 1.089 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007746/0.2674, allocations: 0.6874 MB / 1.09 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2674, allocations: 4 kB / 1.09 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001185/0.2686, allocations: 0.8093 MB / 1.091 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2686, allocations: 8 kB / 1.091 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2686, allocations: 8 kB / 1.091 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.269, allocations: 160.7 kB / 1.091 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.2695, allocations: 119.8 kB / 1.091 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.2727, allocations: 4.359 MB / 1.095 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.273, allocations: 31.97 kB / 1.095 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.2731, allocations: 28 kB / 1.095 GB, free: 12.7 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0002154/0.2733, allocations: 209.6 kB / 1.095 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.2734, allocations: 71.17 kB / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009394/0.2743, allocations: 0.597 MB / 1.096 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2743, allocations: 4 kB / 1.096 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2743, allocations: 7.938 kB / 1.096 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2743, allocations: 0 / 1.096 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.276, allocations: 1.262 MB / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.276, allocations: 4 kB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.2762, allocations: 51.89 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.2766, allocations: 144.4 kB / 1.098 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.2767, allocations: 11.94 kB / 1.098 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.2798, allocations: 4.333 MB / 1.102 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.2798, allocations: 4.031 kB / 1.102 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009198/0.2807, allocations: 0.7042 MB / 1.103 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.2809, allocations: 172.3 kB / 1.103 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.281, allocations: 8 kB / 1.103 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.2812, allocations: 19.97 kB / 1.103 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.2813, allocations: 39.89 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2813, allocations: 11.94 kB / 1.103 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003233/0.2817, allocations: 338.8 kB / 1.103 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2817, allocations: 0 / 1.103 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005172/0.2822, allocations: 140 kB / 1.103 GB, free: 3.953 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.001196/0.2834, allocations: 1.263 MB / 1.104 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.2847, allocations: 1.083 MB / 1.106 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2847, allocations: 0 / 1.106 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.2855, allocations: 0.7348 MB / 1.106 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.2864, allocations: 207.8 kB / 1.106 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.2922, allocations: 5.245 MB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.2927, allocations: 0.9137 MB / 1.112 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.293, allocations: 121.3 kB / 1.113 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.2932, allocations: 192.2 kB / 1.113 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.2932, allocations: 7.875 kB / 1.113 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.985/2.278, allocations: 12.69 MB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.97/21.25, allocations: 9.672 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches