Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_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.005145/0.005145, allocations: 102.4 kB / 15.73 MB, free: 6.453 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.001422/0.001422, allocations: 195.8 kB / 16.67 MB, free: 6.352 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.44/2.44, allocations: 437.1 MB / 0.7106 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2589, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006108/0.265, allocations: 4.904 MB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.2686, allocations: 2.479 MB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2687, allocations: 27.75 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.2698, allocations: 402 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.2705, allocations: 449.6 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.2712, allocations: 398.7 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008911/0.2721, allocations: 0.9212 MB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.2726, allocations: 358.8 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.273, allocations: 346.6 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.2734, allocations: 342.5 kB / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.2735, allocations: 40 kB / 1.177 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.274, allocations: 407.1 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.2742, allocations: 183.4 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.2745, allocations: 322.2 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009239/0.2754, allocations: 0.8909 MB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2755, allocations: 3.938 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2755, allocations: 3.938 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.2755, allocations: 0 / 1.178 GB, free: 10.8 MB / 0.9356 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.001277/0.2768, allocations: 0.9649 MB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2768, allocations: 12.03 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.856e-05/0.2769, allocations: 94.67 kB / 1.179 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.278, allocations: 220.1 kB / 1.18 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.2788, allocations: 0.5417 MB / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.2788, allocations: 37.36 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.2789, allocations: 44.36 kB / 1.18 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2799, allocations: 0.8483 MB / 1.181 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.28, allocations: 11.92 kB / 1.181 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.28, allocations: 20 kB / 1.181 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.252e-05/0.2801, allocations: 60.97 kB / 1.181 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.2809, allocations: 0.5773 MB / 1.182 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.2852, allocations: 5.647 MB / 1.187 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.2858, allocations: 466.6 kB / 1.188 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.2861, allocations: 224.7 kB / 1.188 GB, free: 432 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2861, allocations: 7.938 kB / 1.188 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2862, allocations: 34.56 kB / 1.188 GB, free: 380 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.452e-06/0.2862, allocations: 4 kB / 1.188 GB, free: 376 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002379/0.2886, allocations: 1.511 MB / 1.189 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2886, allocations: 59.69 kB / 1.189 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.2891, allocations: 0.4951 MB / 1.19 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2891, allocations: 33.7 kB / 1.19 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.2894, allocations: 363.8 kB / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.2895, allocations: 127 kB / 1.19 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.2896, allocations: 106.2 kB / 1.19 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.2898, allocations: 370.8 kB / 1.191 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.2901, allocations: 193.2 kB / 1.191 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.2905, allocations: 451.3 kB / 1.191 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/0.2914, allocations: 0.6954 MB / 1.192 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2914, allocations: 0 / 1.192 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001216/0.2926, allocations: 0.8172 MB / 1.193 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2926, allocations: 8 kB / 1.193 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2926, allocations: 8 kB / 1.193 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.2931, allocations: 156.7 kB / 1.193 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.2935, allocations: 123.7 kB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/0.2969, allocations: 4.348 MB / 1.197 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.2972, allocations: 35.97 kB / 1.197 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.2973, allocations: 32 kB / 1.198 GB, free: 5.625 MB / 0.9512 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.0002298/0.2975, allocations: 225.5 kB / 1.198 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.2976, allocations: 63.62 kB / 1.198 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.2986, allocations: 0.601 MB / 1.198 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2986, allocations: 8 kB / 1.198 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2986, allocations: 0 / 1.198 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2986, allocations: 3.984 kB / 1.198 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3003, allocations: 1.267 MB / 1.2 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3003, allocations: 0 / 1.2 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.3006, allocations: 55.89 kB / 1.2 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003803/0.301, allocations: 148.3 kB / 1.2 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.301, allocations: 11.94 kB / 1.2 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003269/0.3043, allocations: 4.329 MB / 1.204 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3043, allocations: 3.938 kB / 1.204 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009535/0.3053, allocations: 0.7119 MB / 1.205 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.3055, allocations: 172.7 kB / 1.205 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.3055, allocations: 8 kB / 1.205 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.3058, allocations: 27.97 kB / 1.205 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.3058, allocations: 31.84 kB / 1.205 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3059, allocations: 11.98 kB / 1.205 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00035/0.3062, allocations: 338.8 kB / 1.205 GB, free: 13 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3062, allocations: 0 / 1.205 GB, free: 13 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005252/0.3068, allocations: 144 kB / 1.205 GB, free: 12.86 MB / 0.9669 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.001271/0.308, allocations: 1.265 MB / 1.207 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.3094, allocations: 1.048 MB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3094, allocations: 3.938 kB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008495/0.3102, allocations: 0.7307 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.3112, allocations: 208.9 kB / 1.209 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.317, allocations: 5.155 MB / 1.214 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.3176, allocations: 0.9098 MB / 1.215 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002696/0.3178, allocations: 125.2 kB / 1.215 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.3181, allocations: 191.4 kB / 1.215 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3181, allocations: 4 kB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/2.074, allocations: 12.86 MB / 1.227 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/17.67, allocations: 6.328 kB / 1.227 GB, free: 6.023 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches