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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001111/0.001111, allocations: 100.1 kB / 15.88 MB, free: 12 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.001178/0.001178, allocations: 200 kB / 16.79 MB, free: 6.809 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.91 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6072, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0178/0.6251, allocations: 15.92 MB / 1.033 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008905/0.634, allocations: 4.821 MB / 1.038 GB, free: 14.03 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.6357, allocations: 59.69 kB / 1.038 GB, free: 13.97 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.6389, allocations: 0.9649 MB / 1.039 GB, free: 13 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.641, allocations: 0.6963 MB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.6434, allocations: 0.8417 MB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005297/0.6487, allocations: 5.256 MB / 1.045 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008227/0.6569, allocations: 5.433 MB / 1.05 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.6594, allocations: 1.332 MB / 1.052 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.6624, allocations: 1.819 MB / 1.054 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009157/0.6633, allocations: 240 kB / 1.054 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.6657, allocations: 0.8268 MB / 1.055 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002263/0.668, allocations: 1.22 MB / 1.056 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002845/0.6708, allocations: 1.35 MB / 1.057 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004905/0.6758, allocations: 4.373 MB / 1.061 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6758, allocations: 0 / 1.061 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6758, allocations: 0 / 1.061 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001678/0.676, allocations: 0 / 1.061 GB, free: 5.512 MB / 0.8106 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.007246/0.6833, allocations: 2.651 MB / 1.064 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.6833, allocations: 15.98 kB / 1.064 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/0.688, allocations: 0.8329 MB / 1.065 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.6914, allocations: 1.497 MB / 1.066 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.6917, allocations: 181.1 kB / 1.066 GB, free: 232 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000941/0.6926, allocations: 240.2 kB / 1.067 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.7031, allocations: 4.167 MB / 1.071 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.7033, allocations: 3.938 kB / 1.071 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007882/0.7041, allocations: 99.98 kB / 1.071 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/0.7044, allocations: 168.5 kB / 1.071 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008191/0.7126, allocations: 3.632 MB / 1.075 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02378/0.7364, allocations: 16.54 MB / 1.091 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/0.7399, allocations: 2.301 MB / 1.093 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00093/0.7409, allocations: 0.584 MB / 1.093 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.7411, allocations: 97.66 kB / 1.094 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.7411, allocations: 39.12 kB / 1.094 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.935e-06/0.7411, allocations: 0 / 1.094 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.006291/0.7474, allocations: 3.428 MB / 1.097 GB, free: 15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.7475, allocations: 111.5 kB / 1.097 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.749, allocations: 1.01 MB / 1.098 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/0.7491, allocations: 45.69 kB / 1.098 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/0.7499, allocations: 1.099 MB / 1.099 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.7502, allocations: 280.2 kB / 1.099 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.7506, allocations: 283.2 kB / 1.1 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.7508, allocations: 414.7 kB / 1.1 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000965/0.7518, allocations: 0.6129 MB / 1.101 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.7531, allocations: 1.185 MB / 1.102 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.7555, allocations: 1.868 MB / 1.104 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.7555, allocations: 8 kB / 1.104 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003375/0.7589, allocations: 2.015 MB / 1.106 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.759, allocations: 13.88 kB / 1.106 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.759, allocations: 20 kB / 1.106 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/0.7595, allocations: 159.3 kB / 1.106 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.7606, allocations: 351.8 kB / 1.106 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.503e-05/0.7607, allocations: 39.86 kB / 1.106 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7617, allocations: 135.6 kB / 1.106 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.7619, allocations: 67.98 kB / 1.106 GB, free: 4.68 MB / 0.8575 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.001462/0.7633, allocations: 0.981 MB / 1.107 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.7636, allocations: 110.6 kB / 1.107 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.7658, allocations: 1.23 MB / 1.109 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.7658, allocations: 11.94 kB / 1.109 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.7658, allocations: 4 kB / 1.109 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.7659, allocations: 7.984 kB / 1.109 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/0.7722, allocations: 3.796 MB / 1.112 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.7723, allocations: 7.938 kB / 1.112 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/0.773, allocations: 155.8 kB / 1.113 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.7733, allocations: 143.3 kB / 1.113 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/0.7734, allocations: 12 kB / 1.113 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.7735, allocations: 19.86 kB / 1.113 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.7735, allocations: 4 kB / 1.113 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.7756, allocations: 1.472 MB / 1.114 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/0.7762, allocations: 267.7 kB / 1.114 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.7765, allocations: 20.09 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.7773, allocations: 75.89 kB / 1.115 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.7774, allocations: 60.41 kB / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.7775, allocations: 20 kB / 1.115 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001229/0.7787, allocations: 0.6992 MB / 1.115 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7787, allocations: 0 / 1.115 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001714/0.7805, allocations: 392 kB / 1.116 GB, free: 10.93 MB / 0.8731 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.0002297/0.7807, allocations: 127 kB / 1.116 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.7833, allocations: 1.71 MB / 1.117 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.7833, allocations: 4 kB / 1.117 GB, free: 9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.7843, allocations: 0.8679 MB / 1.118 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.786, allocations: 246.2 kB / 1.119 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/0.7946, allocations: 5.172 MB / 1.124 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/0.797, allocations: 1.959 MB / 1.126 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.7974, allocations: 99.41 kB / 1.126 GB, free: 492 kB / 0.8731 GB Notification: Performance of SimCode: time 3.146e-06/0.7974, allocations: 4 kB / 1.126 GB, free: 488 kB / 0.8731 GB Notification: Performance of Templates: time 0.07732/0.8747, allocations: 73.27 MB / 1.197 GB, free: 7.172 MB / 0.9512 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 -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