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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 110.5 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7178 GB, free: 4.523 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2977, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02112/0.3189, allocations: 16.02 MB / 1.191 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008861/0.3278, allocations: 4.828 MB / 1.196 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.3292, allocations: 63.69 kB / 1.196 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003155/0.3324, allocations: 1.042 MB / 1.197 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.3347, allocations: 0.7386 MB / 1.198 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.3375, allocations: 0.9192 MB / 1.199 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005071/0.3426, allocations: 3.614 MB / 1.202 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00621/0.3488, allocations: 4.765 MB / 1.207 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.3514, allocations: 1.585 MB / 1.209 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.3545, allocations: 1.784 MB / 1.21 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007556/0.3552, allocations: 340 kB / 1.211 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.357, allocations: 0.788 MB / 1.211 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.3586, allocations: 1.329 MB / 1.213 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001999/0.3606, allocations: 1.455 MB / 1.214 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.3666, allocations: 5.152 MB / 1.219 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.3667, allocations: 0 / 1.219 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3667, allocations: 0 / 1.219 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001474/0.3668, allocations: 0 / 1.219 GB, free: 9.297 MB / 0.9669 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.006562/0.3734, allocations: 2.713 MB / 1.222 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3735, allocations: 11.98 kB / 1.222 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.3776, allocations: 0.8537 MB / 1.223 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.3808, allocations: 1.561 MB / 1.224 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.381, allocations: 181.1 kB / 1.224 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005952/0.3816, allocations: 228.4 kB / 1.225 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008302/0.3899, allocations: 4.173 MB / 1.229 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/0.3901, allocations: 7.938 kB / 1.229 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.3904, allocations: 95.98 kB / 1.229 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.3906, allocations: 168.5 kB / 1.229 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/0.3973, allocations: 3.632 MB / 1.233 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/0.4198, allocations: 16.45 MB / 1.249 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.4236, allocations: 2.293 MB / 1.251 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009855/0.4247, allocations: 0.5741 MB / 1.251 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.4249, allocations: 105.6 kB / 1.251 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.4249, allocations: 47.06 kB / 1.252 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.4249, allocations: 0 / 1.252 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.006231/0.4312, allocations: 3.506 MB / 1.255 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.4313, allocations: 111.5 kB / 1.255 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.4327, allocations: 1.018 MB / 1.256 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.4328, allocations: 37.7 kB / 1.256 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008693/0.4337, allocations: 1.142 MB / 1.257 GB, free: 308 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.4339, allocations: 289.6 kB / 1.257 GB, free: 16 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5604/0.9944, allocations: 271.6 kB / 1.258 GB, free: 77.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.9946, allocations: 411.8 kB / 1.258 GB, free: 76.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.9957, allocations: 0.6147 MB / 1.259 GB, free: 76.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.997, allocations: 1.188 MB / 1.26 GB, free: 76.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.9992, allocations: 1.869 MB / 1.262 GB, free: 75.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.9993, allocations: 6.047 kB / 1.262 GB, free: 75.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003553/1.003, allocations: 2.024 MB / 1.264 GB, free: 74.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/1.003, allocations: 13.61 kB / 1.264 GB, free: 74.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/1.003, allocations: 19.53 kB / 1.264 GB, free: 74.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/1.003, allocations: 163 kB / 1.264 GB, free: 74.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.005, allocations: 342.4 kB / 1.264 GB, free: 74.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.073e-05/1.005, allocations: 42.66 kB / 1.264 GB, free: 74.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.006, allocations: 131.6 kB / 1.264 GB, free: 74.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.006, allocations: 66.36 kB / 1.264 GB, free: 74.41 MB / 0.9981 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.001535/1.007, allocations: 0.9854 MB / 1.265 GB, free: 73.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/1.008, allocations: 111.9 kB / 1.266 GB, free: 73.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/1.01, allocations: 1.233 MB / 1.267 GB, free: 73.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/1.01, allocations: 8.25 kB / 1.267 GB, free: 73.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.01, allocations: 3.047 kB / 1.267 GB, free: 73.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.01, allocations: 4.453 kB / 1.267 GB, free: 73.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00635/1.016, allocations: 3.799 MB / 1.27 GB, free: 71.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.016, allocations: 3.438 kB / 1.27 GB, free: 71.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/1.017, allocations: 155.5 kB / 1.271 GB, free: 71.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/1.017, allocations: 145.8 kB / 1.271 GB, free: 71.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/1.017, allocations: 14.72 kB / 1.271 GB, free: 71.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.017, allocations: 6.125 kB / 1.271 GB, free: 71.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.017, allocations: 3.688 kB / 1.271 GB, free: 71.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.019, allocations: 1.475 MB / 1.272 GB, free: 70.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/1.02, allocations: 276.2 kB / 1.272 GB, free: 70.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.02, allocations: 23.44 kB / 1.272 GB, free: 70.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/1.02, allocations: 66.88 kB / 1.273 GB, free: 70.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/1.02, allocations: 58.86 kB / 1.273 GB, free: 70.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/1.021, allocations: 21.5 kB / 1.273 GB, free: 70.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009019/1.021, allocations: 0.6954 MB / 1.273 GB, free: 70.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.12e-07/1.021, allocations: 0 / 1.273 GB, free: 70.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001436/1.023, allocations: 394.8 kB / 1.274 GB, free: 70.41 MB / 0.9981 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.0001777/1.023, allocations: 133.2 kB / 1.274 GB, free: 70.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002337/1.025, allocations: 1.717 MB / 1.275 GB, free: 69.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.025, allocations: 0 / 1.275 GB, free: 69.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000838/1.026, allocations: 0.8622 MB / 1.276 GB, free: 68.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.028, allocations: 266.1 kB / 1.277 GB, free: 68.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/1.035, allocations: 4.202 MB / 1.281 GB, free: 66.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/1.036, allocations: 1.96 MB / 1.283 GB, free: 65.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/1.037, allocations: 97.75 kB / 1.283 GB, free: 65.84 MB / 0.9981 GB Notification: Performance of SimCode: time 1.083e-06/1.037, allocations: 0 / 1.283 GB, free: 65.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.06825/1.105, allocations: 73.44 MB / 1.354 GB, free: 17.75 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.722672295989469]