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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001661/0.001661, 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.002055/0.002055, allocations: 200 kB / 16.79 MB, free: 6.828 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7614, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01652/0.778, allocations: 15.92 MB / 0.9651 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.7874, allocations: 4.818 MB / 0.9698 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.7891, allocations: 58.75 kB / 0.9699 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.7921, allocations: 0.9732 MB / 0.9709 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.7945, allocations: 0.6896 MB / 0.9715 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.7969, allocations: 0.8394 MB / 0.9723 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005796/0.8027, allocations: 5.257 MB / 0.9775 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007832/0.8106, allocations: 5.437 MB / 0.9828 GB, free: 32 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.8131, allocations: 1.335 MB / 0.9841 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.8163, allocations: 1.815 MB / 0.9859 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008037/0.8171, allocations: 240 kB / 0.9861 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.8192, allocations: 0.8229 MB / 0.9869 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.8208, allocations: 1.22 MB / 0.9881 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.8226, allocations: 1.338 MB / 0.9894 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.8269, allocations: 4.389 MB / 0.9937 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.827, allocations: 0 / 0.9937 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.262e-06/0.827, allocations: 0 / 0.9937 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001104/0.8271, allocations: 0 / 0.9937 GB, free: 4.848 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.005303/0.8324, allocations: 2.65 MB / 0.9963 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8324, allocations: 12.03 kB / 0.9963 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.8364, allocations: 0.8329 MB / 0.9971 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.8391, allocations: 1.497 MB / 0.9986 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.8392, allocations: 173.1 kB / 0.9987 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004473/0.8397, allocations: 236.4 kB / 0.9989 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008152/0.8478, allocations: 4.161 MB / 1.003 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/0.8479, allocations: 15.84 kB / 1.003 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.8482, allocations: 99.98 kB / 1.003 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/0.8484, allocations: 168.5 kB / 1.003 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006345/0.8547, allocations: 3.623 MB / 1.007 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.8739, allocations: 16.55 MB / 1.023 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.8772, allocations: 2.31 MB / 1.025 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.878, allocations: 0.5721 MB / 1.026 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.8782, allocations: 93.66 kB / 1.026 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.8782, allocations: 51.06 kB / 1.026 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.8782, allocations: 0 / 1.026 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005292/0.8835, allocations: 3.42 MB / 1.029 GB, free: 14.35 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.8836, allocations: 111.5 kB / 1.029 GB, free: 14.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.8849, allocations: 1.022 MB / 1.03 GB, free: 13.17 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.885, allocations: 41.7 kB / 1.03 GB, free: 13.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.8857, allocations: 1.095 MB / 1.031 GB, free: 12.01 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.8859, allocations: 284.1 kB / 1.032 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.8863, allocations: 275.2 kB / 1.032 GB, free: 11.45 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.8865, allocations: 414.7 kB / 1.032 GB, free: 11.04 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009199/0.8874, allocations: 0.6167 MB / 1.033 GB, free: 10.42 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.8887, allocations: 1.182 MB / 1.034 GB, free: 8.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.8909, allocations: 1.868 MB / 1.036 GB, free: 6.852 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.8909, allocations: 8 kB / 1.036 GB, free: 6.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00321/0.8941, allocations: 2.014 MB / 1.038 GB, free: 4.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.8942, allocations: 12 kB / 1.038 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.8942, allocations: 20 kB / 1.038 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.8947, allocations: 167.9 kB / 1.038 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.8958, allocations: 347.4 kB / 1.038 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-05/0.8958, allocations: 39.86 kB / 1.039 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.8968, allocations: 131.7 kB / 1.039 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.8969, allocations: 68 kB / 1.039 GB, free: 4.027 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.001338/0.8983, allocations: 0.9771 MB / 1.04 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.8985, allocations: 110.6 kB / 1.04 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.9006, allocations: 1.226 MB / 1.041 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.9006, allocations: 11.94 kB / 1.041 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.9006, allocations: 7.984 kB / 1.041 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.9007, allocations: 3.984 kB / 1.041 GB, free: 1.652 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/0.9067, allocations: 3.804 MB / 1.045 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.9068, allocations: 4 kB / 1.045 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.9074, allocations: 155.8 kB / 1.045 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/0.9078, allocations: 147.5 kB / 1.045 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.9078, allocations: 16 kB / 1.045 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.9078, allocations: 19.86 kB / 1.045 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9079, allocations: 0 / 1.045 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.9099, allocations: 1.464 MB / 1.046 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.9104, allocations: 267.8 kB / 1.047 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.9107, allocations: 28.02 kB / 1.047 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.9114, allocations: 71.81 kB / 1.047 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.9115, allocations: 64.34 kB / 1.047 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.9116, allocations: 24 kB / 1.047 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001046/0.9126, allocations: 0.6992 MB / 1.048 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9126, allocations: 0 / 1.048 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001504/0.9141, allocations: 388 kB / 1.048 GB, free: 10.27 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.0002253/0.9144, allocations: 127.6 kB / 1.048 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002468/0.9168, allocations: 1.702 MB / 1.05 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9169, allocations: 1 kB / 1.05 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.9179, allocations: 0.866 MB / 1.051 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.9194, allocations: 245.9 kB / 1.051 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007864/0.9272, allocations: 5.18 MB / 1.056 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/0.9294, allocations: 1.966 MB / 1.058 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.9298, allocations: 95.42 kB / 1.058 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of SimCode: time 2.414e-06/0.9298, allocations: 0 / 1.058 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of Templates: time 0.08009/1.01, allocations: 73.28 MB / 1.129 GB, free: 6.512 MB / 0.8887 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/jenkins1/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