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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 112.2 kB / 16.41 MB, free: 6.012 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.001397/0.001397, allocations: 189.1 kB / 17.34 MB, free: 5.629 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.696/2.696, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 67.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.081, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02081/1.101, allocations: 16.03 MB / 1.183 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009352/1.111, allocations: 4.82 MB / 1.188 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/1.112, allocations: 67.62 kB / 1.188 GB, free: 14.9 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/1.115, allocations: 1.065 MB / 1.189 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/1.117, allocations: 0.7738 MB / 1.19 GB, free: 13.06 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/1.12, allocations: 0.9169 MB / 1.19 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004501/1.124, allocations: 3.622 MB / 1.194 GB, free: 8.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00592/1.13, allocations: 4.765 MB / 1.199 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/1.133, allocations: 1.597 MB / 1.2 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/1.136, allocations: 1.784 MB / 1.202 GB, free: 292 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004833/1.136, allocations: 340 kB / 1.202 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/1.138, allocations: 0.8035 MB / 1.203 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/1.139, allocations: 1.322 MB / 1.204 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/1.141, allocations: 1.455 MB / 1.206 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/1.146, allocations: 5.152 MB / 1.211 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.146, allocations: 0 / 1.211 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.537e-06/1.146, allocations: 4 kB / 1.211 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.984e-05/1.146, allocations: 0 / 1.211 GB, free: 7.195 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005051/1.151, allocations: 2.713 MB / 1.213 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.151, allocations: 16.88 kB / 1.213 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/1.155, allocations: 0.8382 MB / 1.214 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/1.158, allocations: 1.576 MB / 1.216 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/1.158, allocations: 181.1 kB / 1.216 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/1.159, allocations: 232.4 kB / 1.216 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00719/1.166, allocations: 4.161 MB / 1.22 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.091e-05/1.166, allocations: 4 kB / 1.22 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/1.166, allocations: 104 kB / 1.22 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/1.167, allocations: 172.5 kB / 1.221 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006459/1.173, allocations: 3.628 MB / 1.224 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/1.195, allocations: 16.44 MB / 1.24 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/1.199, allocations: 2.285 MB / 1.242 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009231/1.2, allocations: 0.5858 MB / 1.243 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/1.2, allocations: 101.6 kB / 1.243 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/1.2, allocations: 43.06 kB / 1.243 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/1.2, allocations: 3.938 kB / 1.243 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.006055/1.206, allocations: 3.503 MB / 1.246 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/1.206, allocations: 123.5 kB / 1.247 GB, free: 460 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/1.207, allocations: 1.018 MB / 1.248 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/1.207, allocations: 37.7 kB / 1.248 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000861/1.208, allocations: 1.138 MB / 1.249 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.209, allocations: 289.6 kB / 1.249 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/1.209, allocations: 275.4 kB / 1.249 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002484/1.209, allocations: 410.7 kB / 1.25 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/1.21, allocations: 0.6207 MB / 1.25 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/1.212, allocations: 1.193 MB / 1.251 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/1.214, allocations: 1.864 MB / 1.253 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.214, allocations: 8 kB / 1.253 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003405/1.218, allocations: 2.019 MB / 1.255 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.218, allocations: 12.09 kB / 1.255 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/1.218, allocations: 24 kB / 1.255 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/1.218, allocations: 163.3 kB / 1.255 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.22, allocations: 343.4 kB / 1.256 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-05/1.22, allocations: 39.86 kB / 1.256 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/1.221, allocations: 127.8 kB / 1.256 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.221, allocations: 71.98 kB / 1.256 GB, free: 6.203 MB / 0.9825 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.00151/1.222, allocations: 0.9732 MB / 1.257 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/1.222, allocations: 119.2 kB / 1.257 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/1.225, allocations: 1.218 MB / 1.258 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.225, allocations: 11.94 kB / 1.258 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.225, allocations: 4.094 kB / 1.258 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.225, allocations: 7.969 kB / 1.258 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/1.231, allocations: 3.806 MB / 1.262 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.231, allocations: 0 / 1.262 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/1.231, allocations: 168 kB / 1.262 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003911/1.232, allocations: 139.3 kB / 1.262 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/1.232, allocations: 16 kB / 1.262 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/1.232, allocations: 7.938 kB / 1.262 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.232, allocations: 4 kB / 1.262 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/1.234, allocations: 1.474 MB / 1.264 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/1.235, allocations: 276.4 kB / 1.264 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/1.235, allocations: 23.86 kB / 1.264 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/1.235, allocations: 67.91 kB / 1.264 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.235, allocations: 60.36 kB / 1.264 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/1.236, allocations: 28 kB / 1.264 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001054/1.237, allocations: 0.6914 MB / 1.265 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.237, allocations: 3.938 kB / 1.265 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001566/1.238, allocations: 388 kB / 1.265 GB, free: 12.46 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.0002465/1.238, allocations: 127.1 kB / 1.265 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00277/1.241, allocations: 1.715 MB / 1.267 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.241, allocations: 4.062 kB / 1.267 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.242, allocations: 0.8619 MB / 1.268 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.244, allocations: 270 kB / 1.268 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/1.251, allocations: 3.842 MB / 1.272 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/1.253, allocations: 1.916 MB / 1.274 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00119/1.254, allocations: 445.6 kB / 1.274 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/1.254, allocations: 83.42 kB / 1.274 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.254, allocations: 4 kB / 1.274 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of Templates: time 0.02828/1.283, allocations: 13.74 MB / 1.288 GB, free: 5.34 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (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 & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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