Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007669/0.0007669, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8946/0.8946, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.687/1.687, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.207e-05, allocations: 5.375 kB / 0.9517 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01149/0.01152, allocations: 15.17 MB / 0.9665 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.01635, allocations: 4.726 MB / 0.9712 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.01672, allocations: 95.25 kB / 0.9713 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.01799, allocations: 1.05 MB / 0.9723 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0008057/0.01879, allocations: 0.8002 MB / 0.9731 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.0198, allocations: 0.9221 MB / 0.974 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002226/0.02203, allocations: 3.676 MB / 0.9775 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.024, allocations: 2.454 MB / 0.9799 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.02574, allocations: 2.277 MB / 0.9822 GB, free: 3.613 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.02697, allocations: 1.68 MB / 0.9838 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.0272, allocations: 340 kB / 0.9841 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.02791, allocations: 0.7565 MB / 0.9849 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0007546/0.02866, allocations: 1.419 MB / 0.9863 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006563/0.02932, allocations: 1.025 MB / 0.9873 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.03241, allocations: 5.244 MB / 0.9924 GB, free: 9.133 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.03242, allocations: 0 / 0.9924 GB, free: 9.133 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.03242, allocations: 0 / 0.9924 GB, free: 9.133 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.342e-05/0.03244, allocations: 0 / 0.9924 GB, free: 9.133 MB / 0.948 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.002634/0.03508, allocations: 2.611 MB / 0.9949 GB, free: 6.477 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.03513, allocations: 8.031 kB / 0.9949 GB, free: 6.469 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.03728, allocations: 0.8576 MB / 0.9958 GB, free: 5.609 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.03894, allocations: 1.531 MB / 0.9973 GB, free: 4.047 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.03902, allocations: 181.1 kB / 0.9974 GB, free: 3.867 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.03929, allocations: 228.4 kB / 0.9977 GB, free: 3.645 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/0.04322, allocations: 4.262 MB / 1.002 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.04326, allocations: 8.125 kB / 1.002 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.04343, allocations: 100.4 kB / 1.002 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.04355, allocations: 172.5 kB / 1.002 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/0.04724, allocations: 3.624 MB / 1.006 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008424/0.05567, allocations: 10.45 MB / 1.016 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.05747, allocations: 1.477 MB / 1.017 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.05797, allocations: 0.547 MB / 1.018 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.658e-05/0.05804, allocations: 16.64 kB / 1.018 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.05807, allocations: 59.09 kB / 1.018 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=72): time 3.427e-06/0.05808, allocations: 0 / 1.018 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.002946/0.06102, allocations: 3.193 MB / 1.021 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.06107, allocations: 111.5 kB / 1.021 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/0.06183, allocations: 1.048 MB / 1.022 GB, free: 9.969 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.06186, allocations: 37.7 kB / 1.022 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.06229, allocations: 1.138 MB / 1.023 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.06257, allocations: 281.6 kB / 1.024 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.0628, allocations: 279.4 kB / 1.024 GB, free: 8.215 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.06293, allocations: 410.7 kB / 1.024 GB, free: 7.805 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005634/0.06349, allocations: 0.6207 MB / 1.025 GB, free: 7.184 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/0.06428, allocations: 1.189 MB / 1.026 GB, free: 5.73 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.06563, allocations: 1.86 MB / 1.028 GB, free: 3.605 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.06563, allocations: 8 kB / 1.028 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001778/0.06741, allocations: 2.019 MB / 1.03 GB, free: 1.559 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.06743, allocations: 14.03 kB / 1.03 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.06745, allocations: 20 kB / 1.03 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.06784, allocations: 163.3 kB / 1.03 GB, free: 1.355 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.06841, allocations: 351.3 kB / 1.03 GB, free: 1.012 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.06843, allocations: 39.86 kB / 1.03 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.06896, allocations: 128.1 kB / 1.03 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.06903, allocations: 71.98 kB / 1.031 GB, free: 0.7773 MB / 0.9792 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.000746/0.06977, allocations: 0.9732 MB / 1.031 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.06988, allocations: 111.3 kB / 1.032 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.07105, allocations: 1.225 MB / 1.033 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.07105, allocations: 12 kB / 1.033 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.07106, allocations: 4 kB / 1.033 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.07107, allocations: 3.984 kB / 1.033 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.07369, allocations: 2.881 MB / 1.036 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.0737, allocations: 12.25 kB / 1.036 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.07399, allocations: 159.7 kB / 1.036 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.07418, allocations: 147.3 kB / 1.036 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.0742, allocations: 12 kB / 1.036 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.07421, allocations: 11.92 kB / 1.036 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.07421, allocations: 4 kB / 1.036 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.07545, allocations: 1.458 MB / 1.037 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.07568, allocations: 211.1 kB / 1.038 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.07575, allocations: 15.94 kB / 1.038 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.07604, allocations: 67.91 kB / 1.038 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.07612, allocations: 60.48 kB / 1.038 GB, free: 9.246 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.07615, allocations: 27.94 kB / 1.038 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005095/0.07666, allocations: 0.6871 MB / 1.038 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.07666, allocations: 0 / 1.038 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006823/0.07734, allocations: 388 kB / 1.039 GB, free: 8.141 MB / 0.9948 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.0001615/0.0775, allocations: 127.9 kB / 1.039 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.07876, allocations: 1.36 MB / 1.04 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.07877, allocations: 0 / 1.04 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.07925, allocations: 0.5339 MB / 1.041 GB, free: 6.094 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.08002, allocations: 255.8 kB / 1.041 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.08383, allocations: 4.167 MB / 1.045 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009917/0.08482, allocations: 1.387 MB / 1.046 GB, free: 184 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.085, allocations: 92.48 kB / 1.046 GB, free: 88 kB / 0.9948 GB Notification: Performance of SimCode: time 7.81e-07/0.085, allocations: 0 / 1.046 GB, free: 88 kB / 0.9948 GB Notification: Performance of Templates: time 0.4668/0.5518, allocations: 74.26 MB / 1.119 GB, free: 105.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.286670902743936]