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.009422/0.009422, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001974/0.001974, allocations: 200.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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.619/2.619, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.84 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3166, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006858/0.3235, allocations: 4.887 MB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006811/0.3304, allocations: 2.494 MB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.3318, allocations: 23.81 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.3336, allocations: 397.9 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.3356, allocations: 465.6 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.3373, allocations: 410.7 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3389, allocations: 0.9328 MB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008942/0.3398, allocations: 353.3 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007713/0.3406, allocations: 350.6 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.3413, allocations: 354.4 kB / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3414, allocations: 36 kB / 1.177 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008703/0.3423, allocations: 403.1 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3426, allocations: 183.4 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004674/0.3431, allocations: 322.2 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3444, allocations: 0.8768 MB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3444, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.108e-06/0.3445, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.523e-05/0.3445, allocations: 3.938 kB / 1.178 GB, free: 10.82 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.001715/0.3462, allocations: 0.9541 MB / 1.179 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3463, allocations: 8.031 kB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.3464, allocations: 90.7 kB / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3478, allocations: 203.9 kB / 1.18 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.3487, allocations: 0.5489 MB / 1.18 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.3487, allocations: 37.36 kB / 1.18 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.3488, allocations: 40.38 kB / 1.18 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.3499, allocations: 0.8483 MB / 1.181 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.35, allocations: 11.84 kB / 1.181 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/0.35, allocations: 23.98 kB / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-05/0.3501, allocations: 64.95 kB / 1.181 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.351, allocations: 0.5695 MB / 1.182 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004351/0.3554, allocations: 5.643 MB / 1.187 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.356, allocations: 462.1 kB / 1.188 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3563, allocations: 232.7 kB / 1.188 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3564, allocations: 4 kB / 1.188 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3564, allocations: 34.56 kB / 1.188 GB, free: 436 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 3.636e-06/0.3564, allocations: 0 / 1.188 GB, free: 436 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002468/0.3589, allocations: 1.504 MB / 1.189 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.3589, allocations: 59.69 kB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.3595, allocations: 0.5029 MB / 1.19 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3595, allocations: 29.7 kB / 1.19 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.3598, allocations: 362.8 kB / 1.19 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.3599, allocations: 118.3 kB / 1.19 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.3601, allocations: 114.2 kB / 1.19 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3602, allocations: 366.8 kB / 1.191 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.3605, allocations: 193.2 kB / 1.191 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.361, allocations: 447.3 kB / 1.191 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/0.3618, allocations: 0.6993 MB / 1.192 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3618, allocations: 0 / 1.192 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001284/0.3631, allocations: 0.8053 MB / 1.193 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3631, allocations: 9.875 kB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3632, allocations: 11.94 kB / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.3637, allocations: 160.7 kB / 1.193 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.3641, allocations: 127.7 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.3673, allocations: 4.34 MB / 1.197 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.3677, allocations: 31.97 kB / 1.197 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.3677, allocations: 28 kB / 1.197 GB, free: 5.703 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.0002502/0.368, allocations: 222.5 kB / 1.198 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.3681, allocations: 63.25 kB / 1.198 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009507/0.369, allocations: 0.5972 MB / 1.198 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3691, allocations: 8 kB / 1.198 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3691, allocations: 0 / 1.198 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3691, allocations: 3.984 kB / 1.198 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.3708, allocations: 1.267 MB / 1.2 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3708, allocations: 0 / 1.2 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.371, allocations: 59.89 kB / 1.2 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.3714, allocations: 144.3 kB / 1.2 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.3715, allocations: 11.94 kB / 1.2 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.3745, allocations: 4.333 MB / 1.204 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3745, allocations: 0 / 1.204 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.3755, allocations: 0.7115 MB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.3757, allocations: 172.2 kB / 1.205 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.3758, allocations: 11.98 kB / 1.205 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.376, allocations: 23.97 kB / 1.205 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.3761, allocations: 35.83 kB / 1.205 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.3762, allocations: 12 kB / 1.205 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003443/0.3765, allocations: 338.8 kB / 1.205 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3765, allocations: 0 / 1.205 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006009/0.3771, allocations: 140 kB / 1.205 GB, free: 12.94 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.001193/0.3783, allocations: 1.265 MB / 1.207 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.3798, allocations: 1.048 MB / 1.208 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3798, allocations: 0 / 1.208 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007732/0.3806, allocations: 0.7347 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.3815, allocations: 208.5 kB / 1.209 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.3878, allocations: 5.144 MB / 1.214 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.3883, allocations: 0.9098 MB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003554/0.3887, allocations: 117.3 kB / 1.215 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.389, allocations: 191.4 kB / 1.215 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.389, allocations: 4 kB / 1.215 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.4322, allocations: 12.85 MB / 1.227 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.44, allocations: 11.25 kB / 1.227 GB, free: 6.133 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=50 --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