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.001726/0.001726, allocations: 108 kB / 15.6 MB, free: 132 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.002263/0.002263, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.419/2.419, allocations: 390.2 MB / 0.6646 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7824, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01729/0.7997, allocations: 16.01 MB / 0.9652 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009344/0.8091, allocations: 4.821 MB / 0.9699 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.8113, allocations: 69.28 kB / 0.97 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.8144, allocations: 1.049 MB / 0.971 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.8167, allocations: 0.741 MB / 0.9717 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.8193, allocations: 0.9141 MB / 0.9726 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0049/0.8243, allocations: 3.615 MB / 0.9762 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005986/0.8303, allocations: 4.802 MB / 0.9809 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.833, allocations: 1.57 MB / 0.9824 GB, free: 172 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.836, allocations: 1.78 MB / 0.9841 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007173/0.8367, allocations: 340 kB / 0.9845 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.8388, allocations: 0.7958 MB / 0.9852 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.8404, allocations: 1.326 MB / 0.9865 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.8425, allocations: 1.459 MB / 0.988 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008311/0.8508, allocations: 5.099 MB / 0.9929 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.8508, allocations: 0 / 0.9929 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8509, allocations: 0 / 0.9929 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001726/0.851, allocations: 0 / 0.9929 GB, free: 5.348 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.006106/0.8571, allocations: 2.654 MB / 0.9955 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.8572, allocations: 8.031 kB / 0.9955 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003939/0.8612, allocations: 0.8329 MB / 0.9963 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.8637, allocations: 1.497 MB / 0.9978 GB, free: 252 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.8638, allocations: 177.1 kB / 0.998 GB, free: 72 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.8642, allocations: 232.4 kB / 0.9982 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006941/0.8712, allocations: 4.169 MB / 1.002 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/0.8712, allocations: 7.844 kB / 1.002 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.8715, allocations: 99.98 kB / 1.002 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/0.8717, allocations: 164.5 kB / 1.003 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005924/0.8776, allocations: 3.636 MB / 1.006 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.8991, allocations: 16.55 MB / 1.022 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.9029, allocations: 2.296 MB / 1.024 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009359/0.9038, allocations: 0.5746 MB / 1.025 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.904, allocations: 93.66 kB / 1.025 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.9041, allocations: 43.06 kB / 1.025 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 4.147e-06/0.9041, allocations: 0 / 1.025 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005927/0.91, allocations: 3.436 MB / 1.029 GB, free: 14.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.9101, allocations: 115.5 kB / 1.029 GB, free: 14.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.9116, allocations: 1.01 MB / 1.03 GB, free: 13.67 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.9117, allocations: 37.7 kB / 1.03 GB, free: 13.62 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/0.9125, allocations: 1.103 MB / 1.031 GB, free: 12.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.9127, allocations: 280.1 kB / 1.031 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.9131, allocations: 275.2 kB / 1.031 GB, free: 11.95 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000242/0.9134, allocations: 410.7 kB / 1.032 GB, free: 11.54 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009194/0.9143, allocations: 0.6246 MB / 1.032 GB, free: 10.92 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.9157, allocations: 1.193 MB / 1.033 GB, free: 9.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.9182, allocations: 1.856 MB / 1.035 GB, free: 7.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.9182, allocations: 8 kB / 1.035 GB, free: 7.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003205/0.9214, allocations: 2.015 MB / 1.037 GB, free: 5.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.9214, allocations: 16.19 kB / 1.037 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.9215, allocations: 20 kB / 1.037 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.9219, allocations: 159.3 kB / 1.037 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.923, allocations: 347.4 kB / 1.038 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.588e-05/0.9231, allocations: 39.86 kB / 1.038 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.9241, allocations: 123.7 kB / 1.038 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9243, allocations: 71.98 kB / 1.038 GB, free: 4.52 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.001495/0.9258, allocations: 0.9863 MB / 1.039 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.926, allocations: 110.6 kB / 1.039 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.9281, allocations: 1.226 MB / 1.04 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.9281, allocations: 11.94 kB / 1.04 GB, free: 2.152 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.9281, allocations: 4 kB / 1.04 GB, free: 2.148 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.9281, allocations: 3.984 kB / 1.04 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/0.9341, allocations: 3.807 MB / 1.044 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.9342, allocations: 4 kB / 1.044 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.9348, allocations: 155.8 kB / 1.044 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.9351, allocations: 143.6 kB / 1.044 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.9352, allocations: 12 kB / 1.044 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.9352, allocations: 15.88 kB / 1.044 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9352, allocations: 7.938 kB / 1.044 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.9373, allocations: 1.472 MB / 1.046 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.9378, allocations: 267.9 kB / 1.046 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.9379, allocations: 19.98 kB / 1.046 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.9385, allocations: 71.89 kB / 1.046 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9386, allocations: 60.42 kB / 1.046 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.9387, allocations: 20 kB / 1.046 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009383/0.9396, allocations: 0.6953 MB / 1.047 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9396, allocations: 0 / 1.047 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00147/0.9411, allocations: 392.1 kB / 1.047 GB, free: 10.78 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.0002483/0.9414, allocations: 135.1 kB / 1.047 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003041/0.9444, allocations: 2.008 MB / 1.049 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9444, allocations: 4.125 kB / 1.049 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.9454, allocations: 0.858 MB / 1.05 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.9469, allocations: 267.5 kB / 1.05 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/0.9534, allocations: 3.83 MB / 1.054 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.9552, allocations: 1.916 MB / 1.056 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00121/0.9564, allocations: 453.6 kB / 1.056 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.9566, allocations: 83.42 kB / 1.057 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of SimCode: time 1.443e-06/0.9566, allocations: 0 / 1.057 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of Templates: time 0.0248/0.9815, allocations: 13.28 MB / 1.069 GB, free: 3.832 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