Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008385/0.0008385, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006768/0.006768, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 12 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8392/0.8396, allocations: 142.4 MB / 0.9551 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01718/0.8568, allocations: 15.37 MB / 0.9701 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.8672, allocations: 4.774 MB / 0.9747 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.8692, allocations: 55.28 kB / 0.9748 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.8705, allocations: 254.8 kB / 0.975 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.8734, allocations: 0.6971 MB / 0.9757 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.8761, allocations: 0.6727 MB / 0.9764 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007281/0.8834, allocations: 5.26 MB / 0.9815 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009777/0.8932, allocations: 5.828 MB / 0.9872 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.8956, allocations: 1.097 MB / 0.9883 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.8982, allocations: 1.51 MB / 0.9897 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.8987, allocations: 140 kB / 0.9899 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.9006, allocations: 0.737 MB / 0.9906 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.9022, allocations: 1.072 MB / 0.9916 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.9042, allocations: 1.187 MB / 0.9928 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005663/0.9099, allocations: 4.889 MB / 0.9976 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9099, allocations: 0 / 0.9976 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9099, allocations: 0 / 0.9976 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000161/0.9101, allocations: 0 / 0.9976 GB, free: 3.688 MB / 0.7481 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.005338/0.9154, allocations: 2.175 MB / 0.9997 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.9155, allocations: 8.031 kB / 0.9997 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/0.9204, allocations: 0.8446 MB / 1.001 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.9243, allocations: 1.501 MB / 1.002 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.9245, allocations: 177.1 kB / 1.002 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000827/0.9253, allocations: 228.4 kB / 1.002 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.9358, allocations: 4.171 MB / 1.006 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.353e-05/0.9359, allocations: 8 kB / 1.006 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005471/0.9365, allocations: 99.98 kB / 1.007 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.9367, allocations: 168.5 kB / 1.007 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00806/0.9448, allocations: 3.644 MB / 1.01 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.9684, allocations: 16.55 MB / 1.026 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/0.972, allocations: 2.3 MB / 1.029 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/0.973, allocations: 0.578 MB / 1.029 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.9732, allocations: 93.66 kB / 1.029 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.9732, allocations: 39.12 kB / 1.029 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.9732, allocations: 0 / 1.029 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.006277/0.9795, allocations: 3.459 MB / 1.033 GB, free: 13.61 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.9796, allocations: 123.3 kB / 1.033 GB, free: 13.46 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.9812, allocations: 1.018 MB / 1.034 GB, free: 12.42 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.9813, allocations: 37.7 kB / 1.034 GB, free: 12.38 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008471/0.9822, allocations: 1.099 MB / 1.035 GB, free: 11.26 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.9824, allocations: 280.2 kB / 1.035 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.9826, allocations: 113.7 kB / 1.035 GB, free: 10.87 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.9828, allocations: 410.7 kB / 1.036 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000986/0.9838, allocations: 0.6246 MB / 1.036 GB, free: 9.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.9853, allocations: 1.189 MB / 1.038 GB, free: 8.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.9877, allocations: 1.88 MB / 1.039 GB, free: 6.242 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.9877, allocations: 7.938 kB / 1.039 GB, free: 6.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00346/0.9912, allocations: 2.027 MB / 1.041 GB, free: 4.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.9913, allocations: 12 kB / 1.041 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/0.9913, allocations: 24.03 kB / 1.041 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.9918, allocations: 163.3 kB / 1.042 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.9929, allocations: 351.4 kB / 1.042 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.235e-05/0.993, allocations: 35.86 kB / 1.042 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.9942, allocations: 139.7 kB / 1.042 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.9943, allocations: 64 kB / 1.042 GB, free: 3.402 MB / 0.795 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.001744/0.9961, allocations: 0.985 MB / 1.043 GB, free: 2.406 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.9963, allocations: 110.6 kB / 1.043 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.9986, allocations: 1.226 MB / 1.044 GB, free: 1.047 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.9987, allocations: 19.92 kB / 1.044 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.9987, allocations: 4 kB / 1.044 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9987, allocations: 7.922 kB / 1.044 GB, free: 1.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00656/1.005, allocations: 3.815 MB / 1.048 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/1.005, allocations: 4 kB / 1.048 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/1.006, allocations: 163.8 kB / 1.048 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/1.006, allocations: 147.5 kB / 1.048 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/1.006, allocations: 12 kB / 1.048 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/1.006, allocations: 15.92 kB / 1.048 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.006, allocations: 4 kB / 1.048 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/1.009, allocations: 1.472 MB / 1.05 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007641/1.01, allocations: 295.6 kB / 1.05 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/1.01, allocations: 15.98 kB / 1.05 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/1.011, allocations: 75.91 kB / 1.05 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.011, allocations: 68.3 kB / 1.05 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/1.011, allocations: 20 kB / 1.05 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001197/1.012, allocations: 0.6992 MB / 1.051 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/1.012, allocations: 0 / 1.051 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001667/1.014, allocations: 388 kB / 1.051 GB, free: 9.598 MB / 0.8106 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.0002397/1.014, allocations: 127.7 kB / 1.052 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.017, allocations: 1.715 MB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.017, allocations: 0 / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.018, allocations: 0.8706 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.02, allocations: 251.2 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008228/1.028, allocations: 4.843 MB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/1.03, allocations: 1.92 MB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001264/1.032, allocations: 445.4 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/1.032, allocations: 87.36 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of SimCode: time 1.102e-06/1.032, allocations: 0 / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.02306/1.055, allocations: 12.7 MB / 1.074 GB, free: 2.504 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches